Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/bluenrg-hci/ble_compiler.h
- 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