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.
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/TARGET_NUC472/spi_api.c
- Revision:
- 172:7d866c31b3c5
- Parent:
- 170:19eb464bc2be
--- 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) {