diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-07-01 14:09:19 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2016-08-25 20:56:12 +0000 |
commit | 91e41bd3a19e03639501272bd00ddac734b8a8da (patch) | |
tree | 947d81bfd571d4136fab14c56098620fc9008578 | |
parent | 310a02881b13430c8ddf22949ceb8c6fad263426 (diff) | |
download | chrome-ec-91e41bd3a19e03639501272bd00ddac734b8a8da.tar.gz |
UPSTREAM: samus: small change to support sensor offsets in EC
BRANCH=samus
BUG=chromium:506101, b:27849483
TEST=On samus, check we can set the offset and are taken into account.
Check the bias added is correct in the measurements.
Change-Id: I6cf06271ac080a47a008a342d9d108fd302241cc
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/283164
Reviewed-by: Alec Berg <alecaberg@chromium.org>
(cherry picked from commit 08593b8fe02244a976e2653d25cd433bc50ff396)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/370498
-rw-r--r-- | board/samus/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samus/board.c b/board/samus/board.c index 6fd4a0f7aa..e32860c185 100644 --- a/board/samus/board.c +++ b/board/samus/board.c @@ -265,7 +265,7 @@ static struct mutex g_lid_mutex; struct kxcj9_data g_kxcj9_data; /* lsm6ds0 local sensor data (per-sensor) */ -struct motion_data_t g_saved_data[2]; +struct lsm6ds0_data g_saved_data[2]; /* Four Motion sensors */ /* Matrix to rotate accelrator into standard reference frame */ |