summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2014-10-01 10:33:29 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-08 02:50:54 +0000
commit91cfdd0dac2c1a89f3c8fc2aa8af6ce153589026 (patch)
treeb5a1becfe3efd893bf48635ccf4c317c71f55baa /extra
parenta3ddf04ca9904e73ae6b7bec0218f5861b3f2a74 (diff)
downloadchrome-ec-91cfdd0dac2c1a89f3c8fc2aa8af6ce153589026.tar.gz
Remove PULSE and TEST sequences from lightbar module
PULSE and TEST sequences are not used anywhere. Remove them to save flash space. Also, fix msleep(MSEC) calls in the unit test; it's essentially usleep(SECOND) written in an incorrect way. BUG=chrome-os-partner:32203 TEST=make buildall BRANCH=None Change-Id: I61ba897df632538eb89364a4c913d5fee87f3864 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/220711 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'extra')
-rw-r--r--extra/lightbar/windows.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/extra/lightbar/windows.c b/extra/lightbar/windows.c
index 20b3a5780c..e5dd18551b 100644
--- a/extra/lightbar/windows.c
+++ b/extra/lightbar/windows.c
@@ -233,7 +233,6 @@ void lb_on(void)
fake_power = 1;
update_window();
};
-void lb_start_builtin_cycle(void) { };
void lb_hc_cmd_dump(struct ec_response_lightbar *out)
{
printf("lightbar is %s\n", fake_power ? "on" : "off");