This commit is contained in:
funshine 2015-02-05 01:42:14 +08:00
parent a1dc023c5e
commit 1740841e4f
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -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 */