diff options
author | Ben Lok <ben.lok@mediatek.com> | 2015-12-18 19:45:14 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-03-01 08:25:58 -0800 |
commit | a36a6ca96e864b2ce193df0874d84360cfce0c9e (patch) | |
tree | 98ae879250c87458fcb4ddbf1c558592e99ee7d4 /common/math_util.c | |
parent | 7b43197449dc864c184c28c644d7b6cb62a688a1 (diff) | |
download | chrome-ec-a36a6ca96e864b2ce193df0874d84360cfce0c9e.tar.gz |
oak: Add kx022 lid accelerometer for rev5.
refer to commit 574c8065710432f5a91fd8dd11d1fa28e2be1f3b,
adds the lid accelerometer to the list of motion sensors on the rev5.
Since commit bc404c94b4ab1e6a62e607fd7ef034aa31d6388e,
math_util.c is no longer to include "math.h" header file.
BUG=chrome-os-partner:50312
BRANCH=none
TEST=Build Oak EC with driver enabled and verify that valid
accelerometer data is read, and that range, resolution, and odr can all
be modified.
TEST=Verified that signs of accelerometer data conform to those shown in
the doc.
TEST=make buildall tests
Change-Id: I8df1b2331a1fbea82015b97985541e2ebc393d10
Signed-off-by: Ben Lok <ben.lok@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/319332
Commit-Ready: Rong Chang <rongchang@chromium.org>
Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'common/math_util.c')
-rw-r--r-- | common/math_util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/math_util.c b/common/math_util.c index 79b0f47f5e..247bda6dd9 100644 --- a/common/math_util.c +++ b/common/math_util.c @@ -6,7 +6,6 @@ /* Common math functions. */ #include "common.h" -#include "math.h" #include "math_util.h" #include "util.h" |