F4_HAL/usb: Remove packed attribute for uint32_t (new GCC-8 warning)

This commit is contained in:
Pavol Rusnak 2019-01-23 18:47:36 +01:00 committed by Damien George
parent b4f9e0433b
commit 3b628ac28a

View File

@ -58,6 +58,13 @@
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
#if defined ( __GNUC__ )
/* In this file __packed is used to signify an unaligned pointer,
which GCC doesn't support, so disable it. */
#undef __packed
#define __packed
#endif /* __GNUC__ */
/** @addtogroup STM32F4xx_LL_USB_DRIVER
* @{
*/