X_NUCLEO_IDB0XA1

Files at this revision

API Documentation at this revision

Comitter:
Andrea Palmieri
Date:
Fri Sep 16 12:03:25 2016 +0200
Parent:
306:3a7d9f923493
Commit message:
Sync with 21bfd161ace255bb6214d6b74cae1fd30b3e24c9

2016-09-16 11:53:47+02:00: Andrea Palmieri
Get rid of warnings

Changed in this revision

x-nucleo-idb0xa1/bluenrg-hci/ble_compiler.h Show annotated file Show diff for this revision Revisions of this file
diff -r 3a7d9f923493 -r fa98703ece8e x-nucleo-idb0xa1/bluenrg-hci/ble_compiler.h
--- 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