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_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: services/URIBeaconConfigService.h
- Revision:
- 216:3f5e47361919
- Parent:
- 215:f9d0169b9c28
- Child:
- 217:b48d47c39020
--- a/services/URIBeaconConfigService.h Mon Dec 01 14:31:19 2014 +0000 +++ b/services/URIBeaconConfigService.h Mon Dec 01 14:31:19 2014 +0000 @@ -306,13 +306,13 @@ } void resetDefaults(void) { - memset(uriData, 0, MAX_SIZE_URI_DATA_CHAR_VALUE); + lockedState = false; uriDataLength = 0; - memset(powerLevels, 0, sizeof(powerLevels)); + memset(uriData, 0, MAX_SIZE_URI_DATA_CHAR_VALUE); flags = 0; effectiveTxPower = 0; + memset(powerLevels, 0, sizeof(powerLevels)); beaconPeriod = 0; - lockedState = false; updateGATT(); }