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);