gjhn

Dependents:   BLE_GENERALE

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
307:fa98703ece8e
Parent:
280:fbee0e3444be
--- a/x-nucleo-idb0xa1/bluenrg-hci/ble_compiler.h	Thu Sep 15 16:59:44 2016 +0100
+++ b/x-nucleo-idb0xa1/bluenrg-hci/ble_compiler.h	Fri Sep 16 12:03:25 2016 +0200
@@ -21,7 +21,9 @@
 #ifdef __GNUC__
 #undef __packed
 #define __packed
+#ifndef PACKED
 #define PACKED __attribute__((packed))
+#endif
 #else
 #define PACKED
 #define __packed
@@ -31,4 +33,4 @@
 /* Change this define to 1 if zero-length arrays are not supported by your compiler. */
 #define VARIABLE_SIZE 1
 
-#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
\ No newline at end of file