diff --git a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c index 3d2d0b7e9..dfdea7312 100644 --- a/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c +++ b/ESP32-IDF_Temperture-Node-v2/main/hello_world_main.c @@ -46,6 +46,6 @@ i2c_config_t conf = { void app_main(void) { - i2c_bus = i2c_bus_create(I2C_MASTER_NUM, &conf); + i2c_bus = i2c_bus_create(0, &conf); } \ No newline at end of file