aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-03-11 11:46:08 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-03-11 11:46:08 +0000
commit2c4e1d1763864d547a3ca37cd079819e047982dc (patch)
treedd7b857b2391b9e55a6d2c78d3c8b76bb358cb54 /os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
parent14eea36396e50de3f4f54a53862b130162449821 (diff)
downloadChibiOS-2c4e1d1763864d547a3ca37cd079819e047982dc.tar.gz
ChibiOS-2c4e1d1763864d547a3ca37cd079819e047982dc.tar.bz2
ChibiOS-2c4e1d1763864d547a3ca37cd079819e047982dc.zip
Re-introduced missing chGuardedPoolGetCounterI().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12687 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
Diffstat (limited to 'os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c')
-rw-r--r--os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
index 0015258d9..a5d2a5cb7 100644
--- a/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
+++ b/os/hal/ports/STM32/LLD/SDMMCv1/hal_sdc_lld.c
@@ -503,7 +503,7 @@ void sdc_lld_stop(SDCDriver *sdcp) {
sdcp->sdmmc->DTIMER = 0;
/* DMA stream released.*/
- dmaStreamRelease(sdcp->dma);
+ dmaStreamFreeI(sdcp->dma);
sdcp->dma = NULL;
/* Clock deactivation.*/