From 851daf728dca124f4bb2b6d27238d3952be5cf2b Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Wed, 21 Oct 2020 16:11:07 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2491266 Reviewed-by: Ching-Kang Yen --- common/build.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'common/build.mk') diff --git a/common/build.mk b/common/build.mk index e255e44d72..aec737d1f2 100644 --- a/common/build.mk +++ b/common/build.mk @@ -108,6 +108,7 @@ common-$(CONFIG_MAG_CALIBRATE)+= mag_cal.o math_util.o vec3.o mat33.o mat44.o \ common-$(CONFIG_MKBP_EVENT)+=mkbp_event.o common-$(CONFIG_OCPC)+=ocpc.o common-$(CONFIG_ONEWIRE)+=onewire.o +common-$(CONFIG_ORIENTATION_SENSOR)+=motion_orientation.o common-$(CONFIG_PECI_COMMON)+=peci.o common-$(CONFIG_POWER_BUTTON)+=power_button.o common-$(CONFIG_POWER_BUTTON_X86)+=power_button_x86.o -- cgit v1.2.1