aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-18 18:08:00 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-18 18:08:00 +0000
commit18faf67688b2876911ed1a8e45b2dbd3b5fb941d (patch)
tree92f98e5b5e800852bc2724cd1122c3b72c29b5a8 /os/hal
parentbe302132c782b951b6f81f2833b642a514a70dad (diff)
downloadChibiOS-18faf67688b2876911ed1a8e45b2dbd3b5fb941d.tar.gz
ChibiOS-18faf67688b2876911ed1a8e45b2dbd3b5fb941d.tar.bz2
ChibiOS-18faf67688b2876911ed1a8e45b2dbd3b5fb941d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7415 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/ports/STM32/STM32F37x/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32F37x/adc_lld.c b/os/hal/ports/STM32/STM32F37x/adc_lld.c
index fac07cf51..7ca309906 100644
--- a/os/hal/ports/STM32/STM32F37x/adc_lld.c
+++ b/os/hal/ports/STM32/STM32F37x/adc_lld.c
@@ -444,7 +444,7 @@ void adc_lld_start(ADCDriver *adcp) {
(void *)adcp);
osalDbgAssert(!b, "stream already allocated");
dmaStreamSetPeripheral(adcp->dmastp, &SDADC3->JDATAR);
- rccEnableSDADC2(FALSE);
+ rccEnableSDADC3(FALSE);
PWR->CR |= PWR_CR_SDADC3EN;
adcp->sdadc->CR2 = 0;
adcp->sdadc->CR1 = (adcp->config->cr1 | SDADC_ENFORCED_CR1_FLAGS) &