summaryrefslogtreecommitdiff
path: root/board/coral/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/coral/board.h')
-rw-r--r--board/coral/board.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/coral/board.h b/board/coral/board.h
index 8a84cbb062..29afbd44ce 100644
--- a/board/coral/board.h
+++ b/board/coral/board.h
@@ -207,11 +207,12 @@
#define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL
#define CONFIG_DYNAMIC_MOTION_SENSOR_COUNT
+/* 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 512
-
+#define CONFIG_ACCEL_FIFO_SIZE 512
/* Depends on how fast the AP boots and typical ODRs */
-#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3)
+#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO_SIZE / 3)
#ifndef __ASSEMBLER__