My fork
Dependencies: BLE_API nRF51822-bluetooth-mdw
Fork of microbit-dal by
Diff: source/drivers/MicroBitThermometer.cpp
- Revision:
- 44:bb4aa1985f37
- Parent:
- 41:da05ec75cd5d
- Child:
- 45:23b71960fe6c
diff -r 0374ea4d2167 -r bb4aa1985f37 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:23 2016 +0100 @@ -71,7 +71,7 @@ this->sampleTime = 0; this->offset = 0; - KeyValuePair *tempCalibration = storage->get(ManagedString("tempCal")); + KeyValuePair *tempCalibration = storage->get("tempCal"); if(tempCalibration != NULL) {