mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Revision:
172:7d866c31b3c5
Parent:
170:19eb464bc2be
Child:
176:447f873cad2f
--- a/targets/TARGET_NUVOTON/TARGET_M451/spi_api.c	Wed Aug 16 18:27:13 2017 +0100
+++ b/targets/TARGET_NUVOTON/TARGET_M451/spi_api.c	Thu Aug 31 17:27:04 2017 +0100
@@ -573,7 +573,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) {