commit
25532e8abf
1 changed files with 0 additions and 1 deletions
|
@ -60,7 +60,6 @@
|
||||||
#error "You must include spi-arch.h before spi.h for the CC2538."
|
#error "You must include spi-arch.h before spi.h for the CC2538."
|
||||||
#endif
|
#endif
|
||||||
#define SPI_FLUSH() do { \
|
#define SPI_FLUSH() do { \
|
||||||
SPI_WAITFOREORx(); \
|
|
||||||
while (REG(SSI0_BASE + SSI_SR) & SSI_SR_RNE) { \
|
while (REG(SSI0_BASE + SSI_SR) & SSI_SR_RNE) { \
|
||||||
SPI_RXBUF; \
|
SPI_RXBUF; \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in a new issue