From 31249bb74733866d572bcdf74bde37398a203b05 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 30 Mar 2015 00:50:24 +0300 Subject: [PATCH] Update to SDK 1.0.0 Fixes #1 --- cores/esp8266/core_esp8266_wiring_digital.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/core_esp8266_wiring_digital.c b/cores/esp8266/core_esp8266_wiring_digital.c index f3cac6cb4..735466c3a 100644 --- a/cores/esp8266/core_esp8266_wiring_digital.c +++ b/cores/esp8266/core_esp8266_wiring_digital.c @@ -198,7 +198,7 @@ extern void __attachInterrupt(uint8_t pin, voidFuncPtr handler, int mode) } else if (mode == CHANGE) { - gpio_pin_intr_state_set(pin, GPIO_PIN_INTR_ANYEGDE); + gpio_pin_intr_state_set(pin, GPIO_PIN_INTR_ANYEDGE); } else {