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.
Dependents: BLE_HeartRate_IDB0XA1_EPUDEE_Avril2018
Fork of X_NUCLEO_IDB0XA1 by
Revision 307:fa98703ece8e, committed 2016-09-16
- Comitter:
- Andrea Palmieri
- Date:
- Fri Sep 16 12:03:25 2016 +0200
- Parent:
- 306:3a7d9f923493
- Child:
- 308:c782053df706
- 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 |
--- 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
