Merge pull request #754 from wwhuang/master

[CC2538] Fix SPI_FLUSH
This commit is contained in:
Benoît Thébaudeau 2015-05-16 20:55:30 +02:00
commit 25532e8abf

View File

@ -60,7 +60,6 @@
#error "You must include spi-arch.h before spi.h for the CC2538."
#endif
#define SPI_FLUSH() do { \
SPI_WAITFOREORx(); \
while (REG(SSI0_BASE + SSI_SR) & SSI_SR_RNE) { \
SPI_RXBUF; \
} \