aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-05-24 16:40:45 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-05-24 16:40:45 +0000
commit6faaf3227ed797301619fe195f4571c681ce9e41 (patch)
treecfa70491ae60ba58c3b949092da7109ccea42e3f /os/hal
parent141f14c79a836c841b70a9fbf90016db9d947cb9 (diff)
downloadChibiOS-6faaf3227ed797301619fe195f4571c681ce9e41.tar.gz
ChibiOS-6faaf3227ed797301619fe195f4571c681ce9e41.tar.bz2
ChibiOS-6faaf3227ed797301619fe195f4571c681ce9e41.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5752 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32F30x/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
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