diff options
author | Gerrit <chrome-bot@google.com> | 2012-05-02 13:28:40 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2012-05-02 13:28:40 -0700 |
commit | b1ec950ccfbfb7804039592cf90d0e37071988d4 (patch) | |
tree | e35471d422800fe9be280f2ba6605862ac264a21 | |
parent | 09def9037323f0f6e286d8f1b08be41a052aeefb (diff) | |
parent | bca494aa53e9c6a14f9fa2370283afabf4a67c9e (diff) | |
download | chrome-ec-b1ec950ccfbfb7804039592cf90d0e37071988d4.tar.gz |
Merge "Make lightbar task stop dropping events."
-rw-r--r-- | common/lightbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |