From 4b9a3c0cc9cee9ed85ba18dd2f9c23e90ca051fc Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Tue, 4 Sep 2018 10:10:04 -0700 Subject: motion: Define macros for custom events Define macros to define custom events used by sensor interrupt handlers. Remove CONFIG_ for activity events. BUG=none BRANCH=none TEST=compile, sensors work on eve. Change-Id: I08ef6ed2a004466ebc5f7650d6952a150b9de713 Signed-off-by: Gwendal Grignou Reviewed-on: https://chromium-review.googlesource.com/1272189 Reviewed-by: Jett Rink --- board/samus/board.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/samus') diff --git a/board/samus/board.h b/board/samus/board.h index 1a5e11667f..59c3e8ca4d 100644 --- a/board/samus/board.h +++ b/board/samus/board.h @@ -214,8 +214,6 @@ void set_pp5000_in_g3(int mask, int enable); #define CONFIG_GESTURE_TAP_INNER_WINDOW_T 30 #define CONFIG_GESTURE_TAP_MIN_INTERSTICE_T 120 #define CONFIG_GESTURE_TAP_MAX_INTERSTICE_T 500 -/* event 2 to 9 are reserved for hardware interrupt */ -#define CONFIG_GESTURE_TAP_EVENT TASK_EVENT_CUSTOM(1024) #define CONFIG_LID_ANGLE_SENSOR_BASE 0 #define CONFIG_LID_ANGLE_SENSOR_LID 1 -- cgit v1.2.1