From 08593b8fe02244a976e2653d25cd433bc50ff396 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Wed, 1 Jul 2015 14:09:19 -0700 Subject: [PATCH] samus: small change to support sensor offsets in EC BRANCH=smaug BUG=chromium:506101 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 Reviewed-on: https://chromium-review.googlesource.com/283164 Reviewed-by: Alec Berg --- board/samus/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/samus/board.c b/board/samus/board.c index b6f5c1453c..da7eeb6f32 100644 --- a/board/samus/board.c +++ b/board/samus/board.c @@ -275,7 +275,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 */