summaryrefslogtreecommitdiff
path: root/include/lightbar.h
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-05-08 10:04:39 -0700
committerBill Richardson <wfrichar@chromium.org>2012-05-08 12:03:49 -0700
commit468bc6171c6c7b2b60d6b41ce443e3a6f0013161 (patch)
treedd328d98f994574599e3ff8e9fb52165673b768b /include/lightbar.h
parent4679f8f194153bc4bf9a9a16f4f4ce1b924d9e7d (diff)
downloadchrome-ec-468bc6171c6c7b2b60d6b41ce443e3a6f0013161.tar.gz
Add LPC lightbar command to get the current sequence.
Instead of making the STOP command synchronous, we can just have the host-side app tell the EC to stop, then poll until it has. BUG=chrome-os-partner:9349 TEST=manual "make BOARD=link", then copy build/link/util/lbplay to the host and run it. Change-Id: I846924ae7994a498e0089197785cf239898fe2a3 Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/lightbar.h')
-rw-r--r--include/lightbar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lightbar.h b/include/lightbar.h
index 0cc19e2b9b..395166191d 100644
--- a/include/lightbar.h
+++ b/include/lightbar.h
@@ -35,6 +35,7 @@ enum lightbar_command {
LIGHTBAR_CMD_SEQ,
LIGHTBAR_CMD_REG,
LIGHTBAR_CMD_RGB,
+ LIGHTBAR_CMD_GET_SEQ,
LIGHTBAR_NUM_CMDS
};