1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-06 05:21:22 +03:00

fix typo preventing interrupts and leading to exception

This commit is contained in:
ficeto 2015-05-01 12:14:07 +03:00
parent 978dbebd70
commit 09a0ff8750

View File

@ -154,7 +154,7 @@ extern void __detachInterrupt(uint8_t pin) {
}
void initPins() {
ETS_GPIO_INTR_ATTACH(interrupt_handlers, &interrupt_reg);
ETS_GPIO_INTR_ATTACH(interrupt_handler, &interrupt_reg);
ETS_GPIO_INTR_ENABLE();
}