Solution for Bluetooth SIG hands-on training course
Dependencies: BLE_API mbed-dev-bin nRF51822-bluetooth-mdw
Fork of microbit-dal-bluetooth-mdw_starter by
Diff: source/drivers/MicroBitMessageBus.cpp
- Revision:
- 41:da05ec75cd5d
- Parent:
- 37:b624ae5e94a5
--- a/source/drivers/MicroBitMessageBus.cpp Wed Jul 13 12:18:20 2016 +0100 +++ b/source/drivers/MicroBitMessageBus.cpp Wed Jul 13 12:18:21 2016 +0100 @@ -295,16 +295,6 @@ } /** - * Indicates whether or not we have any background work to do. - * - * @return 1 if there are any events waitingto be processed, 0 otherwise. - */ -int MicroBitMessageBus::isIdleCallbackNeeded() -{ - return !(evt_queue_head == NULL); -} - -/** * Queues the given event to be sent to all registered recipients. * * @param evt The event to send.