ref: 49363e93477e3a0065dbc73da9b383a8e52aefe3
parent: a10d303e7c2d5f961c6b7ad5421cef5daf307fea
author: gkostka <kostka.grzegorz@gmail.com>
date: Sun May 25 12:11:49 EDT 2014
Fixed warning
--- a/demos/stm32f429_disco/stm/usb_user/usb_conf.h
+++ b/demos/stm32f429_disco/stm/usb_user/usb_conf.h
@@ -253,6 +253,7 @@
#define __ALIGN_END
#endif /* USB_OTG_HS_INTERNAL_DMA_ENABLED */
+#ifndef __packed
/* __packed keyword used to decrease the data type alignment to 1-byte */
#if defined (__CC_ARM) /* ARM Compiler */
#define __packed __packed
@@ -263,7 +264,7 @@
#elif defined (__TASKING__) /* TASKING Compiler */
#define __packed __unaligned
#endif /* __CC_ARM */
-
+#endif
/**
* @}
*/