mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC13XX/spi_api.c
- Revision:
- 81:a9456fdf72fa
- Parent:
- 13:0645d8841f51
- Child:
- 227:7bd0639b8911
diff -r 66393a7b209d -r a9456fdf72fa targets/hal/TARGET_NXP/TARGET_LPC13XX/spi_api.c --- a/targets/hal/TARGET_NXP/TARGET_LPC13XX/spi_api.c Thu Jan 30 12:15:05 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC13XX/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;