x

Dependencies:   BLE_API mbed-dev-bin nRF51822

Fork of microbit-dal by Lancaster University

Revision:
45:23b71960fe6c
Parent:
44:bb4aa1985f37
Child:
48:34d1adb6771c
diff -r bb4aa1985f37 -r 23b71960fe6c source/drivers/MicroBitCompass.cpp
--- a/source/drivers/MicroBitCompass.cpp	Wed Jul 13 12:18:23 2016 +0100
+++ b/source/drivers/MicroBitCompass.cpp	Wed Jul 13 12:18:24 2016 +0100
@@ -55,7 +55,7 @@
 
     if(this->storage != NULL)
     {
-        KeyValuePair *calibrationData =  storage->get("compassCal");
+        KeyValuePair *calibrationData =  storage->get(ManagedString("compassCal"));
 
         if(calibrationData != NULL)
         {