Dependencies: BLE_API mbed nRF51822
Fork of BLE_URIBeacon by
Revision 26:a0c5919f8df4, committed 2015-07-02
- Comitter:
- marcuschang
- Date:
- Thu Jul 02 15:17:02 2015 +0000
- Parent:
- 25:867bf234e47d
- Commit message:
- Added 4 byte memory alignment to PersistentParams. This is a pstorage requirement.
Changed in this revision
nrfConfigParamsPersistence.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 867bf234e47d -r a0c5919f8df4 nrfConfigParamsPersistence.cpp --- a/nrfConfigParamsPersistence.cpp Thu Jul 02 08:40:45 2015 +0000 +++ b/nrfConfigParamsPersistence.cpp Thu Jul 02 15:17:02 2015 +0000 @@ -38,7 +38,7 @@ * load and store operations in this module initialize persistentParams and then * pass it on to the 'pstorage' APIs. */ -static PersistentParams_t persistentParams; +static PersistentParams_t persistentParams __attribute__((aligned (4))); static pstorage_handle_t pstorageHandle;