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-bluetooth-mdw
Fork of microbit-dal by
Diff: source/drivers/MicroBitMessageBus.cpp
- Revision:
- 41:da05ec75cd5d
- Parent:
- 37:b624ae5e94a5
diff -r 948486a56c9d -r da05ec75cd5d source/drivers/MicroBitMessageBus.cpp
--- 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.
