Update core_esp8266_waveform.cpp

This commit is contained in:
Jason2866 2020-06-23 20:02:15 +02:00 committed by GitHub
parent bcc9145a91
commit e893f8d97d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifdef ESP8266
#include "core_esp8266_waveform.h" #include "core_esp8266_waveform.h"
#include <Arduino.h> #include <Arduino.h>
#include "ets_sys.h" #include "ets_sys.h"
@ -434,3 +436,5 @@ static ICACHE_RAM_ATTR void timer1Interrupt() {
// Register access is fast and edge IRQ was configured before. // Register access is fast and edge IRQ was configured before.
T1L = nextEventCcys; T1L = nextEventCcys;
} }
#endif // ESP8266