H7_HAL/usb: Remove packed attribute for uint32_t (new GCC-8 warning)
This commit is contained in:
parent
a372b7495c
commit
0aefb5694d
@ -40,6 +40,13 @@
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32h7xx_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 STM32H7xx_LL_USB_DRIVER
|
||||
* @{
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user