Browse Source

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

work-f1-1.10.2
Pavol Rusnak 5 years ago
committed by Damien George
parent
commit
360dc4c03d
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usb.c

+ 7
- 0
STM32L4xx_HAL_Driver/Src/stm32l4xx_ll_usb.c View File

@@ -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…
Cancel
Save