Diff of /ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_adc_ex.c [25056b] .. [1272ff] Maximize Restore

  Switch to side-by-side view

--- a/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_adc_ex.c
+++ b/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_adc_ex.c
@@ -567,6 +567,12 @@
   return HAL_OK;
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
 /**
   * @brief  Returns the last ADC1, ADC2 and ADC3 regular conversions results 
   *         data in the selected multi mode.
@@ -592,6 +598,11 @@
             the HAL_ADC_InjectedConvCpltCallback could be implemented in the user file
    */
 }
+
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
 
 /**
   * @brief  Configures for the selected ADC injected channel its corresponding