mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 18:40:59 +02:00
fix(ulp): fix warning in lp core I2C driver
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include "sdkconfig.h"
|
||||
#include <sys/param.h> /* For MIN macro */
|
||||
#include "soc/soc_caps.h"
|
||||
#include "ulp_lp_core_i2c.h"
|
||||
#include "ulp_lp_core_utils.h"
|
||||
@@ -20,8 +21,6 @@
|
||||
#define LP_I2C_ACK I2C_MASTER_ACK
|
||||
#define LP_I2C_NACK I2C_MASTER_NACK
|
||||
|
||||
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
||||
|
||||
/* I2C LL context */
|
||||
|
||||
i2c_dev_t *dev = I2C_LL_GET_HW(LP_I2C_NUM_0);
|
||||
|
Reference in New Issue
Block a user