Browse Source

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

work-f1-1.10.2
Pavol Rusnak 6 years ago
committed by Damien George
parent
commit
6587032ae0
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c

+ 7
- 0
STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c 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
* @{
*/


Loading…
Cancel
Save