We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d540d8 commit f97ddb8Copy full SHA for f97ddb8
cores/esp32/esp32-hal-gpio.c
@@ -82,6 +82,8 @@ int8_t digitalPinToTouchChannel(uint8_t pin)
82
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};
83
#elif CONFIG_IDF_TARGET_ESP32S2
84
const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
85
+#elif CONFIG_IDF_TARGET_ESP32C3
86
+const int8_t esp32_adc2gpio[20] = {1, 2, 3, 4, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
87
#endif
88
89
const DRAM_ATTR esp32_gpioMux_t esp32_gpioMux[SOC_GPIO_PIN_COUNT]={
0 commit comments