We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 579c13f commit d752828Copy full SHA for d752828
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usb.c
@@ -58,6 +58,13 @@
58
/* Includes ------------------------------------------------------------------*/
59
#include "stm32l4xx_hal.h"
60
61
+#if defined ( __GNUC__ )
62
+/* In this file __packed is used to signify an unaligned pointer,
63
+ which GCC doesn't support, so disable it. */
64
+#undef __packed
65
+#define __packed
66
+#endif /* __GNUC__ */
67
+
68
/** @defgroup USB_LL USB Low Layer
69
* @brief Low layer module for USB_FS and USB_OTG_FS drivers
70
* @{
0 commit comments