mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC408X/spi_api.c
- Revision:
- 81:a9456fdf72fa
- Parent:
- 15:4892fe388435
- Child:
- 227:7bd0639b8911
diff -r 66393a7b209d -r a9456fdf72fa targets/hal/TARGET_NXP/TARGET_LPC408X/spi_api.c --- a/targets/hal/TARGET_NXP/TARGET_LPC408X/spi_api.c Thu Jan 30 12:15:05 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/spi_api.c Fri Jan 31 09:00:05 2014 +0000 @@ -215,7 +215,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;