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:
parent
623c3133ee
commit
9f06fd0e20
|
@ -75,8 +75,8 @@ static void spi_lld_serve_rx_interrupt(SPIDriver *spip, uint32_t ct) {
|
||||||
dmaChannelDisableX(spip->dmarx);
|
dmaChannelDisableX(spip->dmarx);
|
||||||
#if defined(RP_SPI_DMA_ERROR_HOOK)
|
#if defined(RP_SPI_DMA_ERROR_HOOK)
|
||||||
RP_SPI_DMA_ERROR_HOOK(spip);
|
RP_SPI_DMA_ERROR_HOOK(spip);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
/* Portable SPI ISR code defined in the high level driver, note, it is
|
/* Portable SPI ISR code defined in the high level driver, note, it is
|
||||||
a macro.*/
|
a macro.*/
|
||||||
|
|
Loading…
Reference in New Issue