summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2016-08-09 12:30:47 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-27 22:11:22 -0700
commitbc5ca037a23bf0b54bbaff3e79d48973432e9da4 (patch)
tree116180d6774d73071b12068ba96e847e79c7d4f2 /common
parent2e2eb47b5ae4028f2ec7ff3c2a016b02868ca158 (diff)
downloadchrome-ec-bc5ca037a23bf0b54bbaff3e79d48973432e9da4.tar.gz
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 <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/372041 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/motion_sense.c4
1 files 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 */