diff --git a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c index af67b5d7a..7b2747cc5 100644 --- a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c +++ b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.c @@ -670,9 +670,6 @@ void adc_lld_start(ADCDriver *adcp) { osalDbgAssert(adcp->dmastp != NULL, "unable to allocate stream"); clkmask |= (1 << 1); -#if defined(STM32WBXX) - rccEnableADC1(true); -#endif #if defined(STM32F3XX) || defined(STM32G4XX) rccEnableADC12(true); #endif @@ -698,9 +695,6 @@ void adc_lld_start(ADCDriver *adcp) { osalDbgAssert(adcp->dmastp != NULL, "unable to allocate stream"); clkmask |= (1 << 2); -#if defined(STM32WBXX) - rccEnableADC1(true); -#endif #if defined(STM32F3XX) rccEnableADC34(true); #endif @@ -729,9 +723,6 @@ void adc_lld_start(ADCDriver *adcp) { osalDbgAssert(adcp->dmastp != NULL, "unable to allocate stream"); clkmask |= (1 << 3); -#if defined(STM32WBXX) - rccEnableADC1(true); -#endif #if defined(STM32F3XX) rccEnableADC34(true); #endif