summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-10-14 11:13:11 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-15 18:22:33 +0000
commit8fc80e86e4aa90dc88064edf135f6ccae374e647 (patch)
tree0928d1d234a1cb36352e36a9625ee1ed4f6ac351 /include/ec_commands.h
parent9a2afe9f78f04bce8e74aa0d04be1623d14e899e (diff)
downloadchrome-ec-8fc80e86e4aa90dc88064edf135f6ccae374e647.tar.gz
lightbar: bring the TAP sequence in gradually
With only four LED segments, it's confusing to indicate a power percentage by dimming the top segment unless you can see the indicator smoothly ramping up from all-off. This does that. Kind of pretty, if I say so myself. BUG=chrome-os-partner:29041 BRANCH=ToT, Samus TEST=make buildall Run "ectool lightbar demo on", then press the T key to invoke the pattern and the arrow keys to fake the charge state. Change-Id: Ib6a56aea56078b8c1fc9edddda469d7f41735ff7 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/223300 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r--include/ec_commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 5987c46568..14abf48c09 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1018,6 +1018,7 @@ struct lightbar_params_v1 {
int32_t s3_ramp_up;
int32_t s3_ramp_down;
int32_t tap_tick_delay;
+ int32_t tap_gate_delay;
int32_t tap_display_time;
/* Tap-for-battery params */