diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-24 16:40:45 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-24 16:40:45 +0000 |
commit | 6faaf3227ed797301619fe195f4571c681ce9e41 (patch) | |
tree | cfa70491ae60ba58c3b949092da7109ccea42e3f /os/hal | |
parent | 141f14c79a836c841b70a9fbf90016db9d947cb9 (diff) | |
download | ChibiOS-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.c | 2 |
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
|