diff options
Diffstat (limited to 'board/coachz')
-rw-r--r-- | board/coachz/board.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/coachz/board.h b/board/coachz/board.h index 76480b892b..8272e76bde 100644 --- a/board/coachz/board.h +++ b/board/coachz/board.h @@ -10,6 +10,14 @@ #include "baseboard.h" +/* On-body detection */ +#define CONFIG_BODY_DETECTION +#define CONFIG_BODY_DETECTION_SENSOR LID_ACCEL +#define CONFIG_BODY_DETECTION_VAR_NOISE_FACTOR 150 /* % */ +#define CONFIG_GESTURE_DETECTION +#define CONFIG_GESTURE_DETECTION_MASK BIT(CONFIG_BODY_DETECTION_SENSOR) +#define CONFIG_GESTURE_HOST_DETECTION + /* TODO(waihong): Remove the following bringup features */ #define CONFIG_BRINGUP #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands. */ |