diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c b/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c index 6762ec8e6..c96dcf3f2 100644 --- a/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c +++ b/os/hal/ports/STM32/LLD/ADCv4/hal_adc_lld.c @@ -347,10 +347,10 @@ void adc_lld_init(void) { #if STM32_ADC_USE_ADC12 == TRUE
/* Driver initialization.*/
adcObjectInit(&ADCD1);
- ADCD1.adcc = ADC12_COMMON;
- ADCD1.adcm = ADC1;
+ ADCD1.adcc = ADC12_COMMON;
+ ADCD1.adcm = ADC1;
#if STM32_ADC_DUAL_MODE
- ADCD1.adcs = ADC2;
+ ADCD1.adcs = ADC2;
#endif
ADCD1.data.dma = NULL;
ADCD1.dmamode = ADC_DMA_SIZE |
@@ -364,8 +364,8 @@ void adc_lld_init(void) { #if STM32_ADC_USE_ADC3 == TRUE
/* Driver initialization.*/
adcObjectInit(&ADCD3);
- ADCD3.adcc = ADC3_COMMON;
- ADCD3.adcm = ADC3;
+ ADCD3.adcc = ADC3_COMMON;
+ ADCD3.adcm = ADC3;
ADCD3.data.bdma = NULL;
ADCD3.dmamode = ADC_DMA_SIZE |
STM32_DMA_CR_PL(STM32_ADC_ADC3_DMA_PRIORITY) |
|