diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-11-24 21:25:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-11-24 21:25:10 +0000 |
commit | f3bbf4800acff7c34a24306c534b7414fd481b6a (patch) | |
tree | 4fd767ba09d65f6e3600fa387de35e2d1262494a /os/hal/platforms | |
parent | e6b38cdd3741b822c3be51aba268f90fc1771032 (diff) | |
download | ChibiOS-f3bbf4800acff7c34a24306c534b7414fd481b6a.tar.gz ChibiOS-f3bbf4800acff7c34a24306c534b7414fd481b6a.tar.bz2 ChibiOS-f3bbf4800acff7c34a24306c534b7414fd481b6a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3525 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r-- | os/hal/platforms/STM32F4xx/adc_lld.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F4xx/adc_lld.c b/os/hal/platforms/STM32F4xx/adc_lld.c index a4bfac99f..777804b5a 100644 --- a/os/hal/platforms/STM32F4xx/adc_lld.c +++ b/os/hal/platforms/STM32F4xx/adc_lld.c @@ -276,6 +276,7 @@ void adc_lld_start(ADCDriver *adcp) { /* ADC initial setup, starting the analog part here in order to reduce
the latency when starting a conversion.*/
adcp->adc->CR1 = 0;
+ adcp->adc->CR2 = 0;
adcp->adc->CR2 = ADC_CR2_ADON;
}
}
|