My fork
Dependencies: BLE_API mbed-dev-bin nRF51822-bluetooth-mdw
Fork of microbit-dal-bluetooth-mdw by
Diff: source/drivers/MicroBitAccelerometer.cpp
- Revision:
- 41:da05ec75cd5d
- Parent:
- 40:948486a56c9d
- Child:
- 42:e2869e0fa366
--- a/source/drivers/MicroBitAccelerometer.cpp Wed Jul 13 12:18:20 2016 +0100 +++ b/source/drivers/MicroBitAccelerometer.cpp Wed Jul 13 12:18:21 2016 +0100 @@ -711,16 +711,6 @@ } /** - * Returns 0 or 1. 1 indicates data is waiting to be read, zero means data is not ready to be read. - * - * We check if any data is ready for reading by checking the interrupt flag on the accelerometer. - */ -int MicroBitAccelerometer::isIdleCallbackNeeded() -{ - return !int1; -} - -/** * Destructor for MicroBitAccelerometer, where we deregister from the array of fiber components. */ MicroBitAccelerometer::~MicroBitAccelerometer()