summaryrefslogtreecommitdiff
path: root/board/nautilus
diff options
context:
space:
mode:
Diffstat (limited to 'board/nautilus')
-rw-r--r--board/nautilus/board.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/nautilus/board.h b/board/nautilus/board.h
index 30b21ef9f1..59f2b395ac 100644
--- a/board/nautilus/board.h
+++ b/board/nautilus/board.h
@@ -123,11 +123,12 @@
#define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL
#define CONFIG_LID_ANGLE_UPDATE
+/* 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)
#undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 2048