Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32L452_Nucleo_ticker
Fork of mbed-dev by
Diff: targets/TARGET_STM/stm_spi_api.c
- Revision:
- 156:95d6b41a828b
- Parent:
- 153:fa9ff456f731
- Child:
- 159:612c381a210f
--- a/targets/TARGET_STM/stm_spi_api.c Thu Jan 05 10:51:54 2017 +0000 +++ b/targets/TARGET_STM/stm_spi_api.c Mon Jan 16 15:03:32 2017 +0000 @@ -344,7 +344,8 @@ int spi_master_write(spi_t *obj, int value) { - uint16_t size, Rx, ret; + uint16_t size, ret; + int Rx = 0; struct spi_s *spiobj = SPI_S(obj); SPI_HandleTypeDef *handle = &(spiobj->handle);