diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-08-30 21:44:08 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-11 13:50:56 -0700 |
commit | 17296409d8eec57bd3f11c8835ad13f22d4f13fc (patch) | |
tree | 9e516c4ce332f9e7278266c1a670d02eac1dbf64 /board/samus | |
parent | 3b1847d81053d211febc98604f4a3101c389f1ac (diff) | |
download | chrome-ec-17296409d8eec57bd3f11c8835ad13f22d4f13fc.tar.gz |
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 <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/296211
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/samus')
-rw-r--r-- | board/samus/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |