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:
parent
978dbebd70
commit
09a0ff8750
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user