From 9b0b5b4613c52dc14fa1a22c0fd166bcfbf72c0d Mon Sep 17 00:00:00 2001 From: Omar Chebib Date: Fri, 18 Oct 2024 10:51:51 +0800 Subject: [PATCH] fix(examples): fix NMI interrupt example to work on ESP32-S3 --- examples/system/nmi_isr/main/nmi_isr_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/system/nmi_isr/main/nmi_isr_main.c b/examples/system/nmi_isr/main/nmi_isr_main.c index f2e86d5f42..030577e921 100644 --- a/examples/system/nmi_isr/main/nmi_isr_main.c +++ b/examples/system/nmi_isr/main/nmi_isr_main.c @@ -26,6 +26,7 @@ void app_main(void) printf("example: Start\n"); + gpio_reset_pin(EXAMPLE_GPIO_IN); /* Make sure we have a pull-down on the input GPIO to prevent noise (when disconnected) */ gpio_pulldown_en(EXAMPLE_GPIO_IN); gpio_set_direction(EXAMPLE_GPIO_IN, GPIO_MODE_INPUT_OUTPUT);