Browse Source

H7_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
b79aefd757
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_usb.c

+ 7
- 0
STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_usb.c View File

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