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:
- 41:da05ec75cd5d
- Parent:
- 37:b624ae5e94a5
- Child:
- 44:bb4aa1985f37
--- a/source/drivers/MicroBitCompass.cpp Wed Jul 13 12:18:20 2016 +0100
+++ b/source/drivers/MicroBitCompass.cpp Wed Jul 13 12:18:21 2016 +0100
@@ -746,16 +746,6 @@
}
/**
- * Returns 0 or 1. 1 indicates data is waiting to be read, zero means data is not ready to be read.
- */
-int MicroBitCompass::isIdleCallbackNeeded()
-{
- // The MAG3110 raises an interrupt line when data is ready, which we sample here.
- // The interrupt line is active HI, so simply return the state of the pin.
- return int1;
-}
-
-/**
* Destructor for MicroBitCompass, where we deregister this instance from the array of fiber components.
*/
MicroBitCompass::~MicroBitCompass()
