summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-11-09 15:58:55 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-12 23:12:33 -0800
commit0922cc81ce22204264a2b96cec4bf2195939e516 (patch)
tree34bec3f39a0b8739a9b9d22aff20b6fcbb9a126b /test
parent4270931936434c47c902ec6bb2a7600fd76037b6 (diff)
downloadchrome-ec-0922cc81ce22204264a2b96cec4bf2195939e516.tar.gz
motion: cleanup include file
Use test_export_static for static variable/function that needs to by used by tests/motion_lid.c BRANCH=smaug BUG=none TEST=Compile, make buildall -j Change-Id: I2f3eb72ce319622842885be9125b91e58f47133a Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/311754 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/motion_lid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/motion_lid.c b/test/motion_lid.c
index 158fcb0918..5fdd26b7fd 100644
--- a/test/motion_lid.c
+++ b/test/motion_lid.c
@@ -19,6 +19,8 @@
#include "timer.h"
#include "util.h"
+extern enum chipset_state_mask sensor_active;
+extern unsigned motion_interval;
/*
* Period in us for the motion task period.