From 9f06fd0e2086def2147bedaa397137aadc993489 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 25 Apr 2021 12:11:36 +0000 Subject: [PATCH] Fixed condition. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14320 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c b/os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c index d4315f2c2..ec09b7cb7 100644 --- a/os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c +++ b/os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c @@ -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.*/