aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32F30x/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32F30x/adc_lld.c b/os/hal/ports/STM32/STM32F30x/adc_lld.c
index 0f0838f12..b08c55f3b 100644
--- a/os/hal/ports/STM32/STM32F30x/adc_lld.c
+++ b/os/hal/ports/STM32/STM32F30x/adc_lld.c
@@ -439,7 +439,7 @@ void adc_lld_stop(ADCDriver *adcp) {
#endif
#if STM32_ADC_USE_ADC3
- if (&ADCD1 == adcp)
+ if (&ADCD3 == adcp)
rccDisableADC34(FALSE);
#endif
}