File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ static uint32_t spi_event_check(spi_t *obj)
573
573
// Receive Time-Out
574
574
if (spi_base -> STATUS & SPI_STATUS_RXTOIF_Msk ) {
575
575
spi_base -> STATUS = SPI_STATUS_RXTOIF_Msk ;
576
- //event |= SPI_EVENT_ERROR;
576
+ // Not using this IF. Just clear it.
577
577
}
578
578
// Transmit FIFO Under-Run
579
579
if (spi_base -> STATUS & SPI_STATUS_TXUFIF_Msk ) {
Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ static uint32_t spi_event_check(spi_t *obj)
566
566
// Receive Time-Out
567
567
if (spi_base -> STATUS & SPI_STATUS_RXTOIF_Msk ) {
568
568
spi_base -> STATUS = SPI_STATUS_RXTOIF_Msk ;
569
- //event |= SPI_EVENT_ERROR;
569
+ // Not using this IF. Just clear it.
570
570
}
571
571
// Transmit FIFO Under-Run
572
572
if (spi_base -> STATUS & SPI_STATUS_TXUFIF_Msk ) {
You can’t perform that action at this time.
0 commit comments