From f3bbf4800acff7c34a24306c534b7414fd481b6a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 24 Nov 2011 21:25:10 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3525 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/adc_lld.c | 1 + 1 file changed, 1 insertion(+) (limited to 'os/hal/platforms') 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; } } -- cgit v1.2.3