aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-21 19:31:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-21 19:31:11 +0000
commit40c7a8982aaef28d6ac7cbbd378708f237711ccf (patch)
tree7abbf750859de8922f97707cc41cbfd3b13658fc /os/hal/platforms
parent4ffade31534ae304e78c1992b65fc6f1cd1bddeb (diff)
downloadChibiOS-40c7a8982aaef28d6ac7cbbd378708f237711ccf.tar.gz
ChibiOS-40c7a8982aaef28d6ac7cbbd378708f237711ccf.tar.bz2
ChibiOS-40c7a8982aaef28d6ac7cbbd378708f237711ccf.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3380 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/STM32/spi_lld.c4
1 files 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