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.
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Diff: source/drivers/MicroBitThermometer.cpp
- Revision:
- 45:23b71960fe6c
- Parent:
- 44:bb4aa1985f37
- Child:
- 48:34d1adb6771c
diff -r bb4aa1985f37 -r 23b71960fe6c source/drivers/MicroBitThermometer.cpp --- a/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:23 2016 +0100 +++ b/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:24 2016 +0100 @@ -71,7 +71,7 @@ this->sampleTime = 0; this->offset = 0; - KeyValuePair *tempCalibration = storage->get("tempCal"); + KeyValuePair *tempCalibration = storage->get(ManagedString("tempCal")); if(tempCalibration != NULL) {