disabled BLE to use radio
Dependencies: BLE_API nRF51822 mbed-dev-bin
Diff: source/drivers/MicroBitThermometer.cpp
- Revision:
- 35:8ce23bc1af38
- Parent:
- 32:ece16b5987dd
- Child:
- 37:b624ae5e94a5
diff -r 9162efc289ca -r 8ce23bc1af38 source/drivers/MicroBitThermometer.cpp --- a/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:13 2016 +0100 +++ b/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:14 2016 +0100 @@ -245,7 +245,7 @@ int MicroBitThermometer::setOffset(int offset) { if(this->storage != NULL) - this->storage->put(ManagedString("tempCal"), (uint8_t *)&offset, sizeof(int)); + this->storage->put(ManagedString("tempCal"), (uint8_t *)&offset); this->offset = offset;