diff --git a/cores/esp8266/esp8266_peri.h b/cores/esp8266/esp8266_peri.h index d7723c3ad..996185ddc 100644 --- a/cores/esp8266/esp8266_peri.h +++ b/cores/esp8266/esp8266_peri.h @@ -284,7 +284,7 @@ extern uint8_t esp8266_gpioToFn[16]; //SPI_READY #define SPIRDY ESP8266_DREG(0x0C) -#define SPIBUSY 9 //wait SPI idle +#define SPI_BUSY 9 //wait SPI idle //SPI0 Registers (SPI0 is used for the flash) #define SPI0CMD ESP8266_REG(0x200)