aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/spi_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-16 06:30:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-16 06:30:12 +0000
commit786a0a6c71e98c1a3268ed2a13289459030c3032 (patch)
treed12dcb2cb1c69cda4bf93d5202069b545ec77388 /os/hal/platforms/STM32/spi_lld.c
parent224cb118225e2089c6ee6c2965b388d8d71156ee (diff)
downloadChibiOS-786a0a6c71e98c1a3268ed2a13289459030c3032.tar.gz
ChibiOS-786a0a6c71e98c1a3268ed2a13289459030c3032.tar.bz2
ChibiOS-786a0a6c71e98c1a3268ed2a13289459030c3032.zip
Fixed bug 3288112.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2878 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/spi_lld.c')
-rw-r--r--os/hal/platforms/STM32/spi_lld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.c b/os/hal/platforms/STM32/spi_lld.c
index 72db75857..690b1825e 100644
--- a/os/hal/platforms/STM32/spi_lld.c
+++ b/os/hal/platforms/STM32/spi_lld.c
@@ -116,6 +116,7 @@ static void spi_lld_serve_tx_interrupt(SPIDriver *spip, uint32_t flags) {
/* DMA errors handling.*/
#if defined(STM32_SPI_DMA_ERROR_HOOK)
+ (void)spip;
if ((flags & DMA_ISR_TEIF1) != 0) {
STM32_SPI_DMA_ERROR_HOOK(spip);
}