mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
boards: Fix buttons GPIO IRQ on ESP boards
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
cd5e536c40
commit
a926445995
@@ -130,7 +130,7 @@ uint32_t board_buttons(void)
|
||||
int board_button_irq(int id, xcpt_t irqhandler, void *arg)
|
||||
{
|
||||
int ret;
|
||||
DEBUGASSERT(id == BUTTON_BOOT);
|
||||
DEBUGASSERT(id == 0);
|
||||
|
||||
int irq = ESP32_PIN2IRQ(BUTTON_BOOT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user