summaryrefslogtreecommitdiff
path: root/board/nami/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/nami/board.h')
-rw-r--r--board/nami/board.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/nami/board.h b/board/nami/board.h
index 2a93975747..cfcc6b3d2e 100644
--- a/board/nami/board.h
+++ b/board/nami/board.h
@@ -148,11 +148,12 @@
/* KB backlight driver */
#define CONFIG_LED_DRIVER_LM3509
+/* 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)
#define CONFIG_TABLET_MODE
#define CONFIG_TABLET_MODE_SWITCH