diff options
author | Bill Richardson <wfrichar@chromium.org> | 2012-04-12 16:10:35 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@chromium.org> | 2012-04-19 12:44:43 -0700 |
commit | 49de2279d1b40bec2cf56a12d12196c207e86efc (patch) | |
tree | 1b802e9276296c5a4296a0deabd4f34b24f23716 /include/lightbar.h | |
parent | 44f5f0189c0670b7804f2dc75d007747a390bbbb (diff) | |
download | chrome-ec-49de2279d1b40bec2cf56a12d12196c207e86efc.tar.gz |
Tweaks to lightbar code, detect konami sequence
More cleanup to come...
BUG=chrome-os-partner:7839
TEST=manual
Lights should blink in various ways, depending on the CPU state.
Also try the konami code on the keyboard.
Change-Id: I90be9aabb611278ed509493fbab4d5faff74e24c
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/lightbar.h')
-rw-r--r-- | include/lightbar.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/lightbar.h b/include/lightbar.h index 37f8980a34..58e4053765 100644 --- a/include/lightbar.h +++ b/include/lightbar.h @@ -19,9 +19,13 @@ enum lightbar_sequence { LIGHTBAR_S3S0, /* 5 */ LIGHTBAR_S0S3, /* 6 */ LIGHTBAR_S3S5, /* 7 */ - /* extra patterns */ - LIGHTBAR_TEST, /* 8 */ - LIGHTBAR_PULSE, /* 9 */ + /* Who's in charge? */ + LIGHTBAR_EC_STOP, /* 8 - EC ignore LEDs */ + LIGHTBAR_EC_RUN, /* 9 - EC drive LEDs */ + /* Extra patterns */ + LIGHTBAR_PULSE, /* a */ + LIGHTBAR_TEST, /* b */ + LIGHTBAR_KONAMI, /* c */ /* that's all */ LIGHTBAR_NUM_SEQUENCES }; |