summaryrefslogtreecommitdiff
path: root/board/rainier/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/rainier/board.h')
-rw-r--r--board/rainier/board.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/rainier/board.h b/board/rainier/board.h
index 3827f97ea6..fe633e12b3 100644
--- a/board/rainier/board.h
+++ b/board/rainier/board.h
@@ -77,9 +77,12 @@
#define CONFIG_TABLET_MODE
#define CONFIG_TABLET_MODE_SWITCH
+/* Enable sensor fifo, must also define the _SIZE and _THRES */
+#define CONFIG_ACCEL_FIFO
/* FIFO size is in power of 2. */
-#define CONFIG_ACCEL_FIFO 256
-#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3)
+#define CONFIG_ACCEL_FIFO_SIZE 256
+/* Depends on how fast the AP boots and typical ODRs. */
+#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO_SIZE / 3)
/* Sensors without hardware FIFO are in forced mode. */
#define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_BARO)