summaryrefslogtreecommitdiff
path: root/common/lb_common.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-04-16 15:30:20 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-05-15 05:18:16 +0000
commit9d3286301df08d73600d8c36149824755b35980a (patch)
tree0a143c37096b629a1299c22783eefe5e68091d0c /common/lb_common.c
parent485554aea38b3e23d576bb10c8ff159f6d31c8e9 (diff)
downloadchrome-ec-9d3286301df08d73600d8c36149824755b35980a.tar.gz
Add GET_RGB, GET_BRIGHTNESS, and GET_DEMO subcommands to lightbar
This adds three new lightbar subcommands to the EC_CMD_LIGHTBAR_CMD host command, allowing the AP to read the current brightness level, the current lightbar LED values, and the state of demo mode. Because this is new, also update LIGHTBAR_IMPLEMENTATION_VERSION. All the previous commands are unchanged, though. BUG=chrome-os-partner:28596 BRANCH=ToT TEST=manual From the AP, run these commands to see the changes: ectool version ectool lightbar brightness ectool lightbar 0 ectool lightbar 1 ectool lightbar 2 ectool lightbar 3 ectool lightbar demo The version output is different, the other commands used to just emit errors. Change-Id: If32a5d2388217edc3ae7b9b091d66e9d2cf753be Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/199881 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/lb_common.c')
0 files changed, 0 insertions, 0 deletions