Merge pull request #25 from hvisser/master

Handle interrupt correctly on ESP8266
This commit is contained in:
M Wittig 2021-06-19 18:50:35 +02:00 committed by GitHub
commit 96998888bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -33,7 +33,11 @@ bool data1_ready = false;
bool data2_ready = false;
bool skip = false;
bool new_duration = false;
#ifdef ICACHE_RAM_ATTR
void ICACHE_RAM_ATTR handleInterrupt();
#else
void handleInterrupt();
#endif
unsigned int RFControl::getPulseLengthDivider() {
return PULSE_LENGTH_DIVIDER;