Skip to content

Commit 53b5132

Browse files
Update user_main.c
1 parent 6edbe99 commit 53b5132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interrupt_example/user/user_main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void ICACHE_FLASH_ATTR user_init()
130130
// enable interrupt for his GPIO
131131
// GPIO_PIN_INTR_... defined in gpio.h
132132

133-
gpio_pin_intr_state_set(GPIO_ID_PIN(0), GPIO_PIN_INTR_ANYEGDE);
133+
gpio_pin_intr_state_set(GPIO_ID_PIN(0), GPIO_PIN_INTR_ANYEDGE);
134134

135135
ETS_GPIO_INTR_ENABLE();
136136

0 commit comments

Comments
 (0)