diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2021-01-28 14:17:45 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-22 23:23:46 +0000 |
commit | e0b50372154ff2f0cdc094548e563de330d13018 (patch) | |
tree | efe0c6d34e31616c7f354eba6d2d34721559aca1 /board/aleena | |
parent | 57e2fc8d1199db376736426cd3bce26c090fc2f5 (diff) | |
download | chrome-ec-e0b50372154ff2f0cdc094548e563de330d13018.tar.gz |
board: Remove HAS_TASK_MOTIONSENSE when always defined
ifdef HAS_TASK_MOTIONSENSE is only necessary for board that may not
have sensor. Only oak board may be compiled without the sensor stack.
BUG=none
BRANCH=none
TEST=compile.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I7d8e4ff1a647e73251b91a185780025bfae78187
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2693915
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/aleena')
-rw-r--r-- | board/aleena/board.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/aleena/board.c b/board/aleena/board.c index e78d9773a9..ded6cbf698 100644 --- a/board/aleena/board.c +++ b/board/aleena/board.c @@ -54,7 +54,6 @@ const struct pwm_t pwm_channels[] = { }; BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); -#ifdef HAS_TASK_MOTIONSENSE /* Motion sensors */ static struct mutex icm426xx_mutex; @@ -176,7 +175,6 @@ void board_update_sensor_config_from_sku(void) GPIO_INPUT | GPIO_PULL_DOWN); } } -#endif static void board_kblight_init(void) { |