summaryrefslogtreecommitdiff
path: root/board/nautilus/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/nautilus/board.h')
-rw-r--r--board/nautilus/board.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/board/nautilus/board.h b/board/nautilus/board.h
index 74eced7a49..31c48f9b75 100644
--- a/board/nautilus/board.h
+++ b/board/nautilus/board.h
@@ -126,7 +126,15 @@
#define CONFIG_LID_ANGLE_UPDATE
#define CONFIG_LID_ANGLE_TABLET_MODE
#define CONFIG_LID_ANGLE_INVALID_CHECK
-/* Lower maximal ODR to 100Hz */
+/*
+ * Workound for b/79670788.
+ *
+ * Be more lenient when determining valid lid angles.
+ */
+#undef CONFIG_NOISY_MAGNITUDE_DEVIATION
+#define CONFIG_NOISY_MAGNITUDE_DEVIATION FLOAT_TO_FP(1.5)
+
+/* Lower maximal ODR to 100Hz. */
#define CONFIG_EC_MAX_SENSOR_FREQ_MILLIHZ 100000
/* FIFO size is in power of 2. */