mirror of https://github.com/ARMmbed/mbed-os.git
[LPC1549] Fixed potential build error for GCC
parent
a202afec2c
commit
74d82257c0
|
@ -191,7 +191,7 @@ static inline int spi_read(spi_t *obj) {
|
|||
return obj->spi->RXDAT;
|
||||
}
|
||||
|
||||
static inline int spi_busy(spi_t *obj) {
|
||||
int spi_busy(spi_t *obj) {
|
||||
// checking RXOV(Receiver Overrun interrupt flag)
|
||||
return obj->spi->STAT & (1 << 2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue