mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'fix/nmi_not_triggering_on_s3_v5.4' into 'release/v5.4'
fix(examples): fix NMI interrupt example to work on ESP32-S3 (release v5.4) See merge request espressif/esp-idf!34687
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user