[HAL][ADC] Add UNUSED() macro to avoid the generation of a warning related to the unused argument 'hadc'
diff --git a/Src/stm32f4xx_hal_adc_ex.c b/Src/stm32f4xx_hal_adc_ex.c
index 7db1993..1d8ad7b 100644
--- a/Src/stm32f4xx_hal_adc_ex.c
+++ b/Src/stm32f4xx_hal_adc_ex.c
@@ -779,6 +779,9 @@
{
ADC_Common_TypeDef *tmpADC_Common;
+ /* Prevent unused argument(s) compilation warning */
+ UNUSED(hadc);
+
/* Pointer to the common control register to which is belonging hadc */
/* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
/* control register) */