[LPC1549] Fixed potential build error for GCC

pull/344/head
Toyomasa Watarai 2014-06-04 15:04:12 +09:00
parent a202afec2c
commit 74d82257c0
1 changed files with 1 additions and 1 deletions

View File

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