diff options
author | Ben Lok <ben.lok@mediatek.com> | 2015-12-18 19:45:14 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2016-11-21 23:59:49 +0000 |
commit | e695782c029be7513a2ae41ac1887bd65a22eaac (patch) | |
tree | 2197633377e71291e872225826986d4ed496b8b8 | |
parent | 8b6afef4873e76b1a22b7ac9ba4b28831a303c65 (diff) | |
download | chrome-ec-e695782c029be7513a2ae41ac1887bd65a22eaac.tar.gz |
UPSTREAM: 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=samus
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>
(cherry picked from commit a36a6ca96e864b2ce193df0874d84360cfce0c9e)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/378319
-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" |