https://github.com/WebBluetoothCG/demos/pull/42
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Diff: source/drivers/MicroBitThermometer.cpp
- Revision:
- 41:da05ec75cd5d
- Parent:
- 37:b624ae5e94a5
- Child:
- 44:bb4aa1985f37
diff -r 948486a56c9d -r da05ec75cd5d source/drivers/MicroBitThermometer.cpp --- a/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:20 2016 +0100 +++ b/source/drivers/MicroBitThermometer.cpp Wed Jul 13 12:18:21 2016 +0100 @@ -182,16 +182,6 @@ }; /** - * Indicates if we'd like some processor time to sense the temperature. - * - * @returns 1 if we'd like some processor time, 0 otherwise. - */ -int MicroBitThermometer::isIdleCallbackNeeded() -{ - return isSampleNeeded(); -} - -/** * Periodic callback from MicroBit idle thread. */ void MicroBitThermometer::idleTick()