fix(i2c): Fix the array size of static operation,

Closes https://github.com/espressif/esp-idf/issues/15583
This commit is contained in:
C.S.M
2025-03-17 12:37:08 +08:00
parent 7f37a6fd66
commit 3aeeb7585d

View File

@@ -57,7 +57,7 @@ extern "C" {
#define I2C_ALLOW_INTR_PRIORITY_MASK ESP_INTR_FLAG_LOWMED
#define I2C_PM_LOCK_NAME_LEN_MAX 16
#define I2C_STATIC_OPERATION_ARRAY_MAX 6
#define I2C_STATIC_OPERATION_ARRAY_MAX SOC_I2C_CMD_REG_NUM
#define ACK_VAL 0
#define NACK_VAL 1