1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Merge pull request #377 from me-no-dev/esp8266

Fix redefinition of SPI_BUSY
This commit is contained in:
Ivan Grokhotkov 2015-06-05 13:49:29 +03:00
commit 2c42f1d994

View File

@ -284,7 +284,7 @@ extern uint8_t esp8266_gpioToFn[16];
//SPI_READY //SPI_READY
#define SPIRDY ESP8266_DREG(0x0C) #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) //SPI0 Registers (SPI0 is used for the flash)
#define SPI0CMD ESP8266_REG(0x200) #define SPI0CMD ESP8266_REG(0x200)