summaryrefslogtreecommitdiff
path: root/common/gesture.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gesture.c')
-rw-r--r--common/gesture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gesture.c b/common/gesture.c
index 86039e33bb..88d79448a5 100644
--- a/common/gesture.c
+++ b/common/gesture.c
@@ -67,7 +67,7 @@ enum tap_states {
/* Tap sensor to use */
static struct motion_sensor_t *sensor =
-&motion_sensors[CONFIG_GESTURE_SENSOR_DOUBLE_TAP];
+&motion_sensors[CONFIG_GESTURE_TAP_SENSOR];
/* Tap state information */
static int history_z[MAX_WINDOW]; /* Changes in Z */