summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-05 15:58:29 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-06 23:06:27 +0000
commitdeb429c0832cb11bfe372dc87716e92c75031f0d (patch)
tree9becf7f595b22b18e58b90c2e7410b163bbf9d04 /test
parent2ed28ef2009b73ef9734f8b27c4e8d625f063376 (diff)
downloadchrome-ec-deb429c0832cb11bfe372dc87716e92c75031f0d.tar.gz
coil: remove motion_sense*
This code uses coil terms we're removing, but we don't use it in platform/cr50. Remove the code instead of replacing the terms. BUG=b:175244613 TEST=make buildall -j Change-Id: Ic2bd31ba28527d6b68016ceae89a93c80827cd27 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613445 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/math_util.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/math_util.c b/test/math_util.c
index 27947be377..9a2900eb73 100644
--- a/test/math_util.c
+++ b/test/math_util.c
@@ -9,19 +9,10 @@
#include <stdio.h>
#include "common.h"
#include "math_util.h"
-#include "motion_sense.h"
#include "test_util.h"
#include "util.h"
/*****************************************************************************/
-/*
- * Need to define motion sensor globals just to compile.
- * We include motion task to force the inclusion of math_util.c
- */
-struct motion_sensor_t motion_sensors[] = {};
-const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);
-
-/*****************************************************************************/
/* Test utilities */
/* Macro to compare two floats and check if they are equal within diff. */