summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiyu Qin <qinsiyu@huaqin.corp-partner.google.com>2021-07-16 12:32:55 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-20 17:13:10 +0000
commit4dd9cbc099c6765cdf6f009e097a5cec6e6d4e6f (patch)
tree5e82327f96ff12b3e25cfd232998397c727a8d67
parent4ee11394f895e5617958b35b670ba3e6e0c0d640 (diff)
downloadchrome-ec-4dd9cbc099c6765cdf6f009e097a5cec6e6d4e6f.tar.gz
Homestar: Remove on-body detection and gesture host detection
When import the second source sensor ICM42607, the on-body detection and gesture host detection functions will course proccess going to null pointer. Homestar does not require these features according to OEM, so just remove the related macro. BUG=b:194023320 BRANCH=trogdor TEST=make BOARD=homestar Change-Id: I7672fcc090d52e5a030a32ce86c19ff1cf6a0d54 Signed-off-by: Siyu Qin <qinsiyu@huaqin.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034508 Reviewed-by: Wai-Hong Tam <waihong@google.com> Commit-Queue: Wai-Hong Tam <waihong@google.com>
-rw-r--r--board/homestar/board.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/homestar/board.h b/board/homestar/board.h
index 996315623f..19f6ea8b20 100644
--- a/board/homestar/board.h
+++ b/board/homestar/board.h
@@ -10,14 +10,6 @@
#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
-
#define CONFIG_BUTTON_TRIGGERED_RECOVERY
/* Internal SPI flash on NPCX7 */