updates
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal-eddystone by
Revision 34:9162efc289ca, committed 2016-07-13
- Comitter:
- LancasterUniversity
- Date:
- Wed Jul 13 12:18:13 2016 +0100
- Parent:
- 33:58453d751bca
- Child:
- 35:8ce23bc1af38
- Commit message:
- Synchronized with git rev cc381fe8
Author: James Devine
microbit-dal: BUGFIX: no parenthesis in MicroBitMessageBus.cpp
GCC was giving a very accurate warning regarding a lack of
parenthesis in MicroBitMessageBus.cpp. This has now been rectified.
Changed in this revision
source/drivers/MicroBitMessageBus.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/drivers/MicroBitMessageBus.cpp Wed Jul 13 12:18:12 2016 +0100 +++ b/source/drivers/MicroBitMessageBus.cpp Wed Jul 13 12:18:13 2016 +0100 @@ -237,7 +237,7 @@ // Walk this list of event handlers. Delete any that match the given listener. while (l != NULL) { - if (l->flags & MESSAGE_BUS_LISTENER_DELETING && !l->flags & MESSAGE_BUS_LISTENER_BUSY) + if ((l->flags & MESSAGE_BUS_LISTENER_DELETING) && !(l->flags & MESSAGE_BUS_LISTENER_BUSY)) { if (p == NULL) listeners = l->next;