-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Now it is required that interrupt routines are declared in cache.
A fix similar to that in rc-switch is needed here:
#if defined(ESP8266) || defined(ESP32)
// interrupt handler and related code must be in RAM on ESP8266,
#define RECEIVE_ATTR ICACHE_RAM_ATTR
#else
#define RECEIVE_ATTR
#endif
and in:
| void handleInterrupt() { |
RECEIVE_ATTR void handleInterrupt() {
Metadata
Metadata
Assignees
Labels
No labels