fix(ulp): fix warning in lp core I2C driver

This commit is contained in:
Omar Chebib
2025-09-25 10:21:51 +08:00
parent 324446da95
commit 32bb32b598

View File

@@ -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);