Revised to disable BLE for radio communication as needed.
Dependencies: BLE_API nRF51822 mbed-dev-bin
Diff: source/drivers/MicroBitThermometer.cpp
- Revision:
- 48:34d1adb6771c
- Parent:
- 45:23b71960fe6c
diff -r 69f452b1a5c9 -r 34d1adb6771c source/drivers/MicroBitThermometer.cpp --- a/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:26 2016 +0100 +++ b/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:27 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) {