1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +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 6014297bf2
commit 43be35c4de

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();
}