disabled BLE to use radio
Dependencies: BLE_API nRF51822 mbed-dev-bin
Diff: source/drivers/MicroBitCompass.cpp
- Revision:
- 41:da05ec75cd5d
- Parent:
- 37:b624ae5e94a5
- Child:
- 44:bb4aa1985f37
diff -r 948486a56c9d -r da05ec75cd5d source/drivers/MicroBitCompass.cpp --- 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()