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:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user