We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324446d commit 32bb32bCopy full SHA for 32bb32b
components/ulp/lp_core/lp_core/lp_core_i2c.c
@@ -5,6 +5,7 @@
5
*/
6
7
#include "sdkconfig.h"
8
+#include <sys/param.h> /* For MIN macro */
9
#include "soc/soc_caps.h"
10
#include "ulp_lp_core_i2c.h"
11
#include "ulp_lp_core_utils.h"
@@ -20,8 +21,6 @@
20
21
#define LP_I2C_ACK I2C_MASTER_ACK
22
#define LP_I2C_NACK I2C_MASTER_NACK
23
-#define MIN(x, y) (((x) < (y)) ? (x) : (y))
24
-
25
/* I2C LL context */
26
27
i2c_dev_t *dev = I2C_LL_GET_HW(LP_I2C_NUM_0);
0 commit comments