Diff of /ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_crc.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_crc.c
+++ b/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_crc.c
@@ -167,6 +167,12 @@
   return HAL_OK;
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
 /**
   * @brief  Initializes the CRC MSP.
   * @param  hcrc: CRC handle
@@ -190,6 +196,11 @@
             the HAL_CRC_MspDeInit could be implemented in the user file
    */
 }
+
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
 
 /**
   * @}