From 17296409d8eec57bd3f11c8835ad13f22d4f13fc Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Sun, 30 Aug 2015 21:44:08 -0700 Subject: common: Add variable to enable software gesture recognition. Gesture recognition can be done in software (by the EC) or in hardware, by the sensor itself. Add variable to compile gesture.c only in the software case. BRANCH=smaug TEST=compile. BUG=b:23570481 Change-Id: I22bef0bf744516df267020d9458e0299a4da3d72 Signed-off-by: Gwendal Grignou Reviewed-on: https://chromium-review.googlesource.com/296211 Reviewed-by: Alec Berg --- board/samus/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/samus') diff --git a/board/samus/board.h b/board/samus/board.h index 3acd4bc427..ac3ba82b09 100644 --- a/board/samus/board.h +++ b/board/samus/board.h @@ -57,6 +57,7 @@ #define CONFIG_FANS 2 #define CONFIG_FAN_UPDATE_PERIOD 10 #define CONFIG_GESTURE_DETECTION +#define CONFIG_GESTURE_SW_DETECTION #define CONFIG_GESTURE_SAMPLING_INTERVAL_MS 5 #undef CONFIG_HIBERNATE_DELAY_SEC #define CONFIG_HIBERNATE_DELAY_SEC (3600 * 24 * 7) -- cgit v1.2.1