From 15c7013ca7860518551104686f83768d52d26b65 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 19 Apr 2021 08:23:13 +0000 Subject: [PATCH] It is meant to be called from RX interrupt only, not an error. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14229 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 02ea0f3fc..0a8d4959d 100644 --- a/os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c +++ b/os/hal/ports/RP/LLD/SPIv1/hal_spi_lld.c @@ -105,13 +105,9 @@ static void spi_lld_serve_tx_interrupt(SPIDriver *spip, uint32_t ct) { RP_SPI_DMA_ERROR_HOOK(spip); } #else - //(void)spip; + (void)spip; (void)ct; #endif - - /* Portable SPI ISR code defined in the high level driver, note, it is - a macro.*/ - _spi_isr_code(spip); } /*===========================================================================*/