mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-30 21:12:55 +08:00
fix #175
This commit is contained in:
parent
a1dc023c5e
commit
1740841e4f
@ -134,7 +134,7 @@ void spi_mast_byte_write(uint8 spi_no, uint8 *data)
|
||||
|
||||
while(READ_PERI_REG(SPI_CMD(spi_no))&SPI_USR);
|
||||
|
||||
WRITE_PERI_REG(SPI_W0(HSPI), *data);
|
||||
WRITE_PERI_REG(SPI_W0(spi_no), *data);
|
||||
|
||||
SET_PERI_REG_MASK(SPI_CMD(spi_no), SPI_USR);
|
||||
while(READ_PERI_REG(SPI_CMD(spi_no))&SPI_USR);
|
||||
|
@ -17,10 +17,9 @@
|
||||
// #define DEVELOP_VERSION
|
||||
#define FULL_VERSION_FOR_USER
|
||||
|
||||
#ifdef DEVELOP_VERSION
|
||||
|
||||
#define USE_OPTIMIZE_PRINTF
|
||||
|
||||
#ifdef DEVELOP_VERSION
|
||||
#define NODE_DEBUG
|
||||
#endif /* DEVELOP_VERSION */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user