mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC11UXX/spi_api.c
- Revision:
- 81:a9456fdf72fa
- Parent:
- 13:0645d8841f51
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/spi_api.c Thu Jan 30 12:15:05 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/spi_api.c Fri Jan 31 09:00:05 2014 +0000 @@ -202,7 +202,7 @@ int spi_slave_receive(spi_t *obj) { return (ssp_readable(obj) && !ssp_busy(obj)) ? (1) : (0); -}; +} int spi_slave_read(spi_t *obj) { return obj->spi->DR;