commit | aa822e13ce40582c40a98509ae58c7e5ec6dc119 | [log] [tgz] |
---|---|---|
author | Ali Labbene <ali.labbene@st.com> | Thu Mar 03 17:49:43 2022 +0100 |
committer | Ali Labbene <ali.labbene@st.com> | Thu Mar 03 18:34:14 2022 +0100 |
tree | 65591266611090128c472c1378dd3059e152bf6a | |
parent | d16ecdb326b264d2de1b9596c03a4b6391dea173 [diff] |
[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);