Diff of /ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_i2c_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_i2c_ex.c
+++ b/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_i2c_ex.c
@@ -137,6 +137,12 @@
   return HAL_OK; 
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wconversion"
+#endif
+
 /**
   * @brief  Configures I2C Digital noise filter. 
   * @param  hi2c : pointer to a I2C_HandleTypeDef structure that contains
@@ -183,6 +189,11 @@
   return HAL_OK; 
 }  
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
+
 /**
   * @}
   */