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/MicroBitThermometer.cpp
- Revision:
- 41:da05ec75cd5d
- Parent:
- 37:b624ae5e94a5
- Child:
- 44:bb4aa1985f37
--- 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()
