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/MicroBitCompass.cpp
- Revision:
- 48:34d1adb6771c
- Parent:
- 45:23b71960fe6c
diff -r 69f452b1a5c9 -r 34d1adb6771c source/drivers/MicroBitCompass.cpp
--- a/source/drivers/MicroBitCompass.cpp Wed Jul 13 12:18:26 2016 +0100
+++ b/source/drivers/MicroBitCompass.cpp Wed Jul 13 12:18:27 2016 +0100
@@ -55,7 +55,7 @@
if(this->storage != NULL)
{
- KeyValuePair *calibrationData = storage->get(ManagedString("compassCal"));
+ KeyValuePair *calibrationData = storage->get("compassCal");
if(calibrationData != NULL)
{
