updates

Dependencies:   BLE_API mbed-dev-bin nRF51822

Fork of microbit-dal-eddystone by Martin Woolley

Files at this revision

API Documentation at this revision

Comitter:
LancasterUniversity
Date:
Wed Jul 13 12:18:23 2016 +0100
Parent:
43:0374ea4d2167
Child:
45:23b71960fe6c
Commit message:
Synchronized with git rev c45eba9b
Author: Joe Finney
microbit: Removed unnecessary Managedstring() conversions

Changed in this revision

source/drivers/MicroBitCompass.cpp Show annotated file Show diff for this revision Revisions of this file
source/drivers/MicroBitThermometer.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/source/drivers/MicroBitCompass.cpp	Wed Jul 13 12:18:23 2016 +0100
+++ b/source/drivers/MicroBitCompass.cpp	Wed Jul 13 12:18:23 2016 +0100
@@ -55,7 +55,7 @@
 
     if(this->storage != NULL)
     {
-        KeyValuePair *calibrationData =  storage->get(ManagedString("compassCal"));
+        KeyValuePair *calibrationData =  storage->get("compassCal");
 
         if(calibrationData != NULL)
         {
--- 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)
     {