SimpleRcScanner
SimpleRcScanner copied to clipboard
Compatibility with latest ESP8266 frameworks
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: https://github.com/sui77/SimpleRcScanner/blob/bbe88c9333ec992ce319fe7d8550555c84221fdb/htdocs/Sketchbook/SimpleRcScanner.ino#L53
RECEIVE_ATTR void handleInterrupt() {