summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 5bf4f302bc..c8980a9aaf 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2126,6 +2126,15 @@
/* Do not try hold I/O pins at frozen level during deep sleep */
#undef CONFIG_NO_PINHOLD
+/*
+ * Since the accelerometers are on the same physical device, they should be
+ * under the same acceleration. This constant, which mirrors
+ * kNoisyMagnitudeDeviation used in Chromium, is an integer, 1, which defines
+ * the maximum deviation in magnitude between the base and lid vectors. The
+ * units are in m/s^2.
+ */
+#define CONFIG_NOISY_MAGNITUDE_DEVIATION FLOAT_TO_FP(1)
+
/* Support one-wire interface */
#undef CONFIG_ONEWIRE