mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/spi_api.c
- Revision:
- 81:a9456fdf72fa
- Parent:
- 32:4742f6c694e8
--- a/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/spi_api.c Thu Jan 30 12:15:05 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/spi_api.c Fri Jan 31 09:00:05 2014 +0000 @@ -198,7 +198,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;