diff --git a/cryptoauthlib/third_party/hal/esp32/hal_esp32_i2c.c b/cryptoauthlib/third_party/hal/esp32/hal_esp32_i2c.c index 0d2e320..75da7ee 100644 --- a/cryptoauthlib/third_party/hal/esp32/hal_esp32_i2c.c +++ b/cryptoauthlib/third_party/hal/esp32/hal_esp32_i2c.c @@ -34,7 +34,7 @@ #define LOG_LOCAL_LEVEL ESP_LOG_INFO #endif -#define MAX_I2C_BUSES SOC_HP_I2C_NUM //ESP32 has 2 I2C bus +#define MAX_I2C_BUSES SOC_I2C_NUM //ESP32 has 2 I2C bus typedef struct atcaI2Cmaster { @@ -111,7 +111,7 @@ ATCA_STATUS hal_i2c_init(ATCAIface iface, ATCAIfaceCfg *cfg) i2c_hal_data[bus].id = I2C_NUM_0; break; case 1: -#if SOC_HP_I2C_NUM >= 2 +#if SOC_I2C_NUM >= 2 i2c_hal_data[bus].id = I2C_NUM_1; #endif break; diff --git a/idf_component.yml b/idf_component.yml index 3d871ab..6102808 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,4 +1,4 @@ -version: "3.5.1~4" +version: "3.5.1~5" description: "esp-cryptoauthlib: The port of Microchip CryptoAuthentication Library for ESP-IDF" url: https://github.com/espressif/esp-cryptoauthlib dependencies: