mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c
- Revision:
- 172:7d866c31b3c5
- Parent:
- 170:19eb464bc2be
- Child:
- 176:447f873cad2f
--- a/targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c Wed Aug 16 18:27:13 2017 +0100 +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c Thu Aug 31 17:27:04 2017 +0100 @@ -566,7 +566,7 @@ // Receive Time-Out if (spi_base->STATUS & SPI_STATUS_RXTOIF_Msk) { spi_base->STATUS = SPI_STATUS_RXTOIF_Msk; - //event |= SPI_EVENT_ERROR; + // Not using this IF. Just clear it. } // Transmit FIFO Under-Run if (spi_base->STATUS & SPI_STATUS_TXUFIF_Msk) {