diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2020-10-21 16:11:07 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-06 01:43:08 +0000 |
commit | 851daf728dca124f4bb2b6d27238d3952be5cf2b (patch) | |
tree | 5a7725232cc1992a74340e6540fb2ba80e6b7896 /include/motion_sense.h | |
parent | 8dfdaa83815669c50f70332932fa35614ef2e4f6 (diff) | |
download | chrome-ec-851daf728dca124f4bb2b6d27238d3952be5cf2b.tar.gz |
motion: orientation: update interface
Enabling orientation sensor would not compile anymore.
Fix interface by replacing macros with functions.
BUG=chromium:718919
BRANCH=none
TEST=Compile when enabled on grunt and eve.
Change-Id: Ic5d6992d040cde79ef3f691db494804e160b7650
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2491266
Reviewed-by: Ching-Kang Yen <chingkang@chromium.org>
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r-- | include/motion_sense.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h index b7e40a942e..89284cbc1a 100644 --- a/include/motion_sense.h +++ b/include/motion_sense.h @@ -298,12 +298,6 @@ int sensor_init_done(const struct motion_sensor_t *sensor); */ void sensor_board_proc_double_tap(void); -#ifdef CONFIG_ORIENTATION_SENSOR -enum motionsensor_orientation motion_sense_remap_orientation( - const struct motion_sensor_t *s, - enum motionsensor_orientation orientation); -#endif - /* * There are 4 variables that represent the number of sensors: * SENSOR_COUNT: The number of available motion sensors in board. |