fix(esp_driver_gpio): esp32c61 gpio number update 22 -> 25

This commit is contained in:
wanckl
2024-11-07 17:48:21 +08:00
parent 5e056de1e7
commit a50c095df1
14 changed files with 483 additions and 56 deletions

View File

@@ -29,6 +29,9 @@ const uint32_t GPIO_HOLD_MASK[] = {
BIT(19), //GPIO19
BIT(20), //GPIO20
BIT(21), //GPIO21
BIT(22), //GPIO22
BIT(23), //GPIO23
BIT(24), //GPIO24
};
_Static_assert(sizeof(GPIO_HOLD_MASK) == SOC_GPIO_PIN_COUNT * sizeof(uint32_t), "Invalid size of GPIO_HOLD_MASK");