Skip to content

Commit 17e6530

Browse files
committed
Add gpio initialization
1 parent a1ef21c commit 17e6530

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interrupt_example/user/user_main.c

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ void ICACHE_FLASH_ATTR user_init()
5151
" 3.- Connect GPIO0 to ground to increment count edge\r\n"
5252
);
5353

54+
// Initialize the GPIO subsystem.
55+
gpio_init();
56+
5457
// =================================================
5558
// Initialize GPIO2 and GPIO0 as GPIO
5659
// =================================================

0 commit comments

Comments
 (0)