diff options
author | Aseda Aboagye <aaboagye@google.com> | 2015-09-14 14:14:25 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-19 02:00:54 -0700 |
commit | d341615383f1ea5d3a540a67bcec777ba902bdfb (patch) | |
tree | 8c39af34493d8b42d8dc27cf85a0709485ec4b66 /common/lightbar.c | |
parent | f46c115a28161a81ce17449201c0e8b29a7ef13f (diff) | |
download | chrome-ec-d341615383f1ea5d3a540a67bcec777ba902bdfb.tar.gz |
GLaDOS: Add base accel & gyro.
This commit adds the base accelerometer as well as the gyroscope to the
list of motion sensors on the board. They are currently wrapped behind an
ifdef for HAS_TASK_MOTIONSENSE due to space constraints.
BUG=chrome-os-partner:43494
BRANCH=None
TEST=Build GLaDOS EC with driver enabled and verify that we can calcuate
a valid lid angle.
TEST=Verify that signs of accelerometer conform to those shown in the
Chrome/Android/HTML5 doc/spec. See description in accelerometer_types.h
TEST=Verify that signs of gyroscope conform to those shown in the
"Sysfs interface to EC accelerometers" document.
TEST=make buildall tests
CQ-DEPEND=CL:299504
CQ-DEPEND=CL:300510
Change-Id: I34026813431f0df6211f9c781ab5b8c7b4dd8403
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/299886
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'common/lightbar.c')
0 files changed, 0 insertions, 0 deletions