From bca494aa53e9c6a14f9fa2370283afabf4a67c9e Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 2 May 2012 11:01:11 -0700 Subject: Make lightbar task stop dropping events. BUG=chrome-os-partner:9350 TEST=none Change-Id: I5a208aeb74f34e82393a3208f4a0cd48cdc7bff4 Signed-off-by: Bill Richardson --- common/lightbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lightbar.c b/common/lightbar.c index dc07ba3952..d81b75c298 100644 --- a/common/lightbar.c +++ b/common/lightbar.c @@ -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 */ -- cgit v1.2.1