summaryrefslogtreecommitdiff
path: root/common/gesture.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gesture.c')
-rw-r--r--common/gesture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/gesture.c b/common/gesture.c
index 8d9c744cf7..e4fb79c5bd 100644
--- a/common/gesture.c
+++ b/common/gesture.c
@@ -304,7 +304,8 @@ void gesture_calc(uint32_t *event)
return;
if (gesture_tap_for_battery())
- *event |= CONFIG_GESTURE_TAP_EVENT;
+ *event |= TASK_EVENT_MOTION_ACTIVITY_INTERRUPT(
+ MOTIONSENSE_ACTIVITY_DOUBLE_TAP);
}
/*****************************************************************************/