gpio: Fix some gpio pin num errors on esp32s2 and esp32c3

This commit is contained in:
songruojing
2022-02-10 20:27:43 +08:00
parent dcfd5187ac
commit b1017de2e6
7 changed files with 16 additions and 29 deletions

View File

@@ -141,9 +141,9 @@
#define SD_DATA2_GPIO_NUM 9
#define SD_DATA3_GPIO_NUM 10
#define MAX_RTC_GPIO_NUM 0
#define MAX_PAD_GPIO_NUM 22
#define MAX_GPIO_NUM 22
#define MAX_RTC_GPIO_NUM 5
#define MAX_PAD_GPIO_NUM 21
#define MAX_GPIO_NUM 25
#define REG_IO_MUX_BASE DR_REG_IO_MUX_BASE
#define PIN_CTRL (REG_IO_MUX_BASE +0x00)