[LL][ADC] Prevent unused argument compilation warning in LL_ADC_CommonDeInit()
diff --git a/Src/stm32l5xx_ll_adc.c b/Src/stm32l5xx_ll_adc.c index 5a2795b..7348019 100644 --- a/Src/stm32l5xx_ll_adc.c +++ b/Src/stm32l5xx_ll_adc.c
@@ -311,6 +311,9 @@ /* Check the parameters */ assert_param(IS_ADC_COMMON_INSTANCE(ADCxy_COMMON)); + /* Prevent unused argument compilation warning */ + (void)(ADCxy_COMMON); + /* Force reset of ADC clock (core clock) */ LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_ADC);