From 6faaf3227ed797301619fe195f4571c681ce9e41 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 24 May 2013 16:40:45 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5752 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F30x/adc_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/platforms/STM32F30x/adc_lld.c b/os/hal/platforms/STM32F30x/adc_lld.c index 953781bc8..7936be680 100644 --- a/os/hal/platforms/STM32F30x/adc_lld.c +++ b/os/hal/platforms/STM32F30x/adc_lld.c @@ -342,7 +342,7 @@ void adc_lld_init(void) { #if STM32_ADC_USE_ADC3 /* Driver initialization.*/ - adcObjectInit(&ADCD1); + adcObjectInit(&ADCD3); ADCD3.adcc = ADC3_4; ADCD3.adcm = ADC3; #if STM32_ADC_DUAL_MODE