Просмотр исходного кода

gpio: fixed GPIO47 not available issue on ESP32s3

Michael (XIAO Xufeng) 5 лет назад
Родитель
Сommit
6b5377f11a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      components/soc/esp32s3/gpio_periph.c

+ 1 - 1
components/soc/esp32s3/gpio_periph.c

@@ -62,7 +62,7 @@ const uint32_t GPIO_PIN_MUX_REG[SOC_GPIO_PIN_COUNT] = {
     IO_MUX_GPIO44_REG,
     IO_MUX_GPIO45_REG,
     IO_MUX_GPIO46_REG,
-    0,
+    IO_MUX_GPIO47_REG,
 };
 
 const uint32_t GPIO_HOLD_MASK[SOC_GPIO_PIN_COUNT] = {