fix(i2c): Fix i2c gpio configuration and move i2c_platform public

This commit is contained in:
C.S.M
2024-10-22 18:12:41 +08:00
parent 8c000216f0
commit d7e090476c
9 changed files with 69 additions and 34 deletions
@@ -166,7 +166,6 @@ When the I2C master handle has been initialized in one module (e.g. the audio mo
ESP_ERROR_CHECK(i2c_new_master_bus(&i2c_mst_config, &bus_handle));
// Source File 2
#include "esp_private/i2c_platform.h"
#include "driver/i2c_master.h"
i2c_master_bus_handle_t handle;
ESP_ERROR_CHECK(i2c_master_get_bus_handle(0, &handle));