diff --git a/cores/esp32/esp32-hal-gpio.c b/cores/esp32/esp32-hal-gpio.c index 0db7b43c..7c5e02bd 100644 --- a/cores/esp32/esp32-hal-gpio.c +++ b/cores/esp32/esp32-hal-gpio.c @@ -24,7 +24,7 @@ #include "soc/gpio_struct.h" #include "soc/rtc_io_reg.h" -const int8_t esp32_adc2gpio[20] = {36, -1, -1, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26}; +const int8_t esp32_adc2gpio[20] = {36, 37, 38, 39, 32, 33, 34, 35, -1, -1, 4, 0, 2, 15, 13, 12, 14, 27, 25, 26}; const DRAM_ATTR esp32_gpioMux_t esp32_gpioMux[GPIO_PIN_COUNT]={ {0x44, 11, 11, 1}, @@ -64,8 +64,8 @@ const DRAM_ATTR esp32_gpioMux_t esp32_gpioMux[GPIO_PIN_COUNT]={ {0x14, 4, 6, -1}, {0x18, 5, 7, -1}, {0x04, 0, 0, -1}, - {0x08, 1, -1, -1}, - {0x0c, 2, -1, -1}, + {0x08, 1, 1, -1}, + {0x0c, 2, 2, -1}, {0x10, 3, 3, -1} };