diff --git a/cores/esp8266/Arduino.h b/cores/esp8266/Arduino.h index 1057240db..f75f9ebf1 100644 --- a/cores/esp8266/Arduino.h +++ b/cores/esp8266/Arduino.h @@ -33,11 +33,10 @@ extern "C" { #include #include +#include "stdlib_noniso.h" #include "binary.h" #include "pgmspace.h" - - void yield(void); #define HIGH 0x1 diff --git a/cores/esp8266/HardwareSerial.cpp b/cores/esp8266/HardwareSerial.cpp index 27cc35e96..907e29733 100644 --- a/cores/esp8266/HardwareSerial.cpp +++ b/cores/esp8266/HardwareSerial.cpp @@ -101,7 +101,7 @@ UARTnr_t uart_get_debug(); // #################################################################################################### // #################################################################################################### -void ICACHE_FLASH_ATTR uart_interrupt_handler(uart_t* uart) { +void uart_interrupt_handler(uart_t* uart) { // -------------- UART 0 -------------- uint32_t status = READ_PERI_REG(UART_INT_ST(0));