mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_NUCLEO_F072RB/spi_api.c
- Revision:
- 233:1bbc1451db33
- Parent:
- 219:993c9b0acbcc
- Child:
- 239:8cadf13dff33
diff -r 1e593fe58241 -r 1bbc1451db33 targets/hal/TARGET_STM/TARGET_NUCLEO_F072RB/spi_api.c --- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F072RB/spi_api.c Tue Jun 17 11:00:07 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F072RB/spi_api.c Tue Jun 17 11:30:08 2014 +0100 @@ -282,7 +282,7 @@ } int spi_slave_receive(spi_t *obj) { - return (ssp_readable(obj) && !ssp_busy(obj)) ? (1) : (0); + return ((ssp_readable(obj) && !ssp_busy(obj)) ? 1 : 0); }; int spi_slave_read(spi_t *obj) {