From bc5ca037a23bf0b54bbaff3e79d48973432e9da4 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Tue, 9 Aug 2016 12:30:47 -0700 Subject: [PATCH] motion: use proper define for gesture support. _FIFO was too general, use the right define. BRANCH=samus BUG=b:27849483 TEST=Compile when GESTURE is not defined. Change-Id: I0c1e9b3de0e322f40f955af6ce2e51a6775f389d Signed-off-by: Gwendal Grignou Reviewed-on: https://chromium-review.googlesource.com/372041 Reviewed-by: Aseda Aboagye --- common/motion_sense.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/motion_sense.c b/common/motion_sense.c index 678c02fe6f..33b5ca7eb6 100644 --- a/common/motion_sense.c +++ b/common/motion_sense.c @@ -708,7 +708,7 @@ void motion_sense_task(void) #endif #ifdef CONFIG_GESTURE_SENSOR_BATTERY_TAP if (event & CONFIG_GESTURE_TAP_EVENT) { -#ifdef CONFIG_ACCEL_FIFO +#ifdef CONFIG_GESTURE_HOST_DETECTION struct ec_response_motion_sensor_data vector; /* @@ -729,7 +729,7 @@ void motion_sense_task(void) #ifdef CONFIG_GESTURE_SIGMO if (event & CONFIG_GESTURE_SIGMO_EVENT) { struct motion_sensor_t *activity_sensor; -#ifdef CONFIG_ACCEL_FIFO +#ifdef CONFIG_GESTURE_HOST_DETECTION struct ec_response_motion_sensor_data vector; /* Send events to the FIFO */