Make lightbar task stop dropping events.

BUG=chrome-os-partner:9350
TEST=none

Change-Id: I5a208aeb74f34e82393a3208f4a0cd48cdc7bff4
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
Bill Richardson
2012-05-02 11:01:11 -07:00
parent f1467b61b7
commit bca494aa53

View File

@@ -206,7 +206,7 @@ static const struct {
/* Interruptible delay */
#define WAIT_OR_RET(A) do { \
uint32_t msg = task_wait_event(A); \
if (!(msg & TASK_EVENT_TIMER)) \
if (TASK_EVENT_CUSTOM(msg)) \
return TASK_EVENT_CUSTOM(msg); } while (0)
/* CPU is off */