summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 650fcdb2eb..674d5621da 100644
--- a/common/motion_sense.c
+++ b/common/motion_sense.c
@@ -742,7 +742,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;
/*
@@ -763,7 +763,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 */