L4_HAL/usb: Remove packed attribute for uint32_t (new GCC-8 warning)
This commit is contained in:
parent
0a1a3065a4
commit
2476c2f6c2
@ -58,6 +58,13 @@
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32l4xx_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__ */
|
||||
|
||||
/** @defgroup USB_LL USB Low Layer
|
||||
* @brief Low layer module for USB_FS and USB_OTG_FS drivers
|
||||
* @{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user