git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3808 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-01-14 10:54:56 +00:00
parent d29e6e338e
commit 685286c5c8
1 changed files with 1 additions and 1 deletions

View File

@ -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