Closed hvisser closed 3 years ago
For ESP8266 the interrupt handler must be in IRAM. Newer Arduino versions for ESP seem to enforce this now. Marking handleInterrupt() with ICACHE_RAM_ATTR fixes this.
handleInterrupt()
ICACHE_RAM_ATTR
See https://forum.arduino.cc/index.php?topic=616264.msg4182494#msg4182494
For ESP8266 the interrupt handler must be in IRAM. Newer Arduino versions for ESP seem to enforce this now. Marking
handleInterrupt()
withICACHE_RAM_ATTR
fixes this.See https://forum.arduino.cc/index.php?topic=616264.msg4182494#msg4182494