From 01fd86385bdcf633db0acd91b5f60733097a84a3 Mon Sep 17 00:00:00 2001 From: Yuval Peress Date: Thu, 30 May 2019 12:02:10 -0600 Subject: common: motion_sense: Require CONFIG_MOTION_SENSOR_MAX_COUNT This changes requires all boards to define the maximum number of sensors they support. This will allow us to later create static arrays with the appropriate length. BUG=chromium:966506 BRANCH=None TEST=make buildall Change-Id: I5a2fa8f0fdcaef69065dfd4c2bfea4e3f371e986 Signed-off-by: Yuval Peress Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1637414 Reviewed-by: Jett Rink --- board/coral/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/coral/board.h') diff --git a/board/coral/board.h b/board/coral/board.h index 3a93a88e7c..f9dfb4e174 100644 --- a/board/coral/board.h +++ b/board/coral/board.h @@ -269,6 +269,7 @@ enum sensor_id { LID_ACCEL, BASE_ACCEL, BASE_GYRO, + SENSOR_COUNT, }; #define CONFIG_HOSTCMD_SKUID -- cgit v1.2.1