Forked.
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) {