xtensa/esp32s2: Fix the number of GPIO IRQs
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
47e40842a7
commit
2d6cd7e580
@ -286,7 +286,7 @@
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_ESP32S2_GPIO_IRQ
|
||||
# define ESP32S2_NIRQ_GPIO 40
|
||||
# define ESP32S2_NIRQ_GPIO 47
|
||||
# define ESP32S2_FIRST_GPIOIRQ (XTENSA_NIRQ_INTERNAL + ESP32S2_NIRQ_PERIPH)
|
||||
# define ESP32S2_LAST_GPIOIRQ (ESP32S2_FIRST_GPIOIRQ + ESP32S2_NIRQ_GPIO - 1)
|
||||
# define ESP32S2_PIN2IRQ(p) ((p) + ESP32S2_FIRST_GPIOIRQ)
|
||||
|
Loading…
Reference in New Issue
Block a user