Fixed condition.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14320 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2021-04-25 12:11:36 +00:00
parent 623c3133ee
commit 9f06fd0e20
1 changed files with 1 additions and 1 deletions

View File

@ -75,8 +75,8 @@ static void spi_lld_serve_rx_interrupt(SPIDriver *spip, uint32_t ct) {
dmaChannelDisableX(spip->dmarx);
#if defined(RP_SPI_DMA_ERROR_HOOK)
RP_SPI_DMA_ERROR_HOOK(spip);
}
#endif
}
/* Portable SPI ISR code defined in the high level driver, note, it is
a macro.*/