Skip to content

Commit 2c42f1d

Browse files
committed
Merge pull request #377 from me-no-dev/esp8266
Fix redefinition of SPI_BUSY
2 parents 3e04989 + cfb9cf7 commit 2c42f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/esp8266_peri.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ extern uint8_t esp8266_gpioToFn[16];
284284

285285
//SPI_READY
286286
#define SPIRDY ESP8266_DREG(0x0C)
287-
#define SPIBUSY 9 //wait SPI idle
287+
#define SPI_BUSY 9 //wait SPI idle
288288

289289
//SPI0 Registers (SPI0 is used for the flash)
290290
#define SPI0CMD ESP8266_REG(0x200)

0 commit comments

Comments
 (0)