summaryrefslogtreecommitdiff
path: root/include/lightbar.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-09-10 15:15:06 -0700
committerGerrit <chrome-bot@google.com>2012-09-11 09:46:16 -0700
commitb0891c30e0d5d0086b9d01e87ded99d79195d6ad (patch)
treedd3baec2161f88e5810b665675d866dcade64d73 /include/lightbar.h
parent774d047d5ee363c565cf58561c2d92c871eb87cf (diff)
downloadchrome-ec-b0891c30e0d5d0086b9d01e87ded99d79195d6ad.tar.gz
Cleanup: move lightbar command enum into ec_commands.h
Previously this was in lightbar.h. ec_commands.h should not require other header files. Also make brightness local variable static, so it won't leak outside lightbar module. This is simply code cleanup; values themselves have not changed. BUG=none TEST=if it builds, it's fine BRANCH=none (not required in link branch since it's just cleanup) Change-Id: I5722fb677fcec99e0826e3dfc0b22033781b576f Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/32815 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Yung-Chieh Lo <yjlou@chromium.org>
Diffstat (limited to 'include/lightbar.h')
-rw-r--r--include/lightbar.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/lightbar.h b/include/lightbar.h
index ea48314904..4f284a43b6 100644
--- a/include/lightbar.h
+++ b/include/lightbar.h
@@ -25,21 +25,6 @@ void lightbar_sequence(enum lightbar_sequence s);
/****************************************************************************/
/* External stuff */
-/* These are the commands available to the EC console or via LPC. */
-enum lightbar_command {
- LIGHTBAR_CMD_DUMP,
- LIGHTBAR_CMD_OFF,
- LIGHTBAR_CMD_ON,
- LIGHTBAR_CMD_INIT,
- LIGHTBAR_CMD_BRIGHTNESS,
- LIGHTBAR_CMD_SEQ,
- LIGHTBAR_CMD_REG,
- LIGHTBAR_CMD_RGB,
- LIGHTBAR_CMD_GET_SEQ,
- LIGHTBAR_CMD_DEMO,
- LIGHTBAR_NUM_CMDS
-};
-
/* These are used for demo purposes */
extern void demo_battery_level(int inc);
extern void demo_is_charging(int ischarge);