Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RFControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,11 @@ void verification(int package) {
}
}

#if defined(ESP8266)
void ICACHE_RAM_ATTR handleInterrupt() {
#else
void handleInterrupt() {
#endif
//hw_digitalWrite(9, HIGH);
unsigned long currentTime = hw_micros();
duration = (currentTime - lastTime) / PULSE_LENGTH_DIVIDER;
Expand Down