aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-14 10:54:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-14 10:54:56 +0000
commit685286c5c8a6ad0d9370e62ea51eb6492e359d2a (patch)
treee4bf02c3ee756cfa2c4a9c591794fcb5b12436e8 /os
parentd29e6e338ec4da796225af4dbc9ab001406a14a8 (diff)
downloadChibiOS-685286c5c8a6ad0d9370e62ea51eb6492e359d2a.tar.gz
ChibiOS-685286c5c8a6ad0d9370e62ea51eb6492e359d2a.tar.bz2
ChibiOS-685286c5c8a6ad0d9370e62ea51eb6492e359d2a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3808 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32/spi_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.c b/os/hal/platforms/STM32/spi_lld.c
index 34a892d48..c98d762b3 100644
--- a/os/hal/platforms/STM32/spi_lld.c
+++ b/os/hal/platforms/STM32/spi_lld.c
@@ -128,7 +128,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 & STM32_DMA_ISR_TEIF) != 0) {
+ if ((flags & (STM32_DMA_ISR_TEIF | STM32_DMA_ISR_DMEIF)) != 0) {
STM32_SPI_DMA_ERROR_HOOK(spip);
}
#else