mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c
- Revision:
- 275:8287c40fc7ee
- Parent:
- 267:8673334f2cbe
- Child:
- 285:31249416b6f9
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c Wed Aug 06 08:15:07 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/spi_api.c Thu Aug 07 09:15:06 2014 +0100 @@ -133,6 +133,7 @@ } int spi_slave_read(spi_t *obj) { + dspi_hal_clear_status_flag(obj->instance, kDspiRxFifoDrainRequest); return dspi_hal_read_data(obj->instance); }