From 40c7a8982aaef28d6ac7cbbd378708f237711ccf Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 21 Sep 2011 19:31:11 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3380 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/spi_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/hal/platforms/STM32/spi_lld.c b/os/hal/platforms/STM32/spi_lld.c index 194a386a7..f8ec8546c 100644 --- a/os/hal/platforms/STM32/spi_lld.c +++ b/os/hal/platforms/STM32/spi_lld.c @@ -284,8 +284,8 @@ void spi_lld_stop(SPIDriver *spip) { #endif #if STM32_SPI_USE_SPI3 if (&SPID3 == spip) { - dmaStreamRelease(STM32_DMA1_STREAM1); - dmaStreamRelease(STM32_DMA1_STREAM2); + dmaStreamRelease(STM32_DMA2_STREAM1); + dmaStreamRelease(STM32_DMA2_STREAM2); rccDisableSPI3(FALSE); } #endif -- cgit v1.2.3