diff options
Diffstat (limited to 'board/arcada_ish')
-rw-r--r-- | board/arcada_ish/board.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/board/arcada_ish/board.h b/board/arcada_ish/board.h index 18bdf6258a..f036bfd301 100644 --- a/board/arcada_ish/board.h +++ b/board/arcada_ish/board.h @@ -34,8 +34,12 @@ #define CONFIG_MAG_CALIBRATE #define CONFIG_ACCEL_INTERRUPTS -#define CONFIG_ACCEL_FIFO 256 -#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3) +/* Enable sensor fifo, must also define the _SIZE and _THRES */ +#define CONFIG_ACCEL_FIFO +/* FIFO size is a power of 2. */ +#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(BASE_ACCEL) | BIT(LID_MAG)) |