diff options
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r-- | include/motion_sense.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h index b0e5244e3b..8e0ade7492 100644 --- a/include/motion_sense.h +++ b/include/motion_sense.h @@ -76,7 +76,7 @@ enum sensor_config { #define BASE_RANGE(_range) ((_range) & ~ROUND_UP_FLAG) #ifdef CONFIG_ACCEL_FIFO -#define MAX_FIFO_EVENT_COUNT CONFIG_ACCEL_FIFO +#define MAX_FIFO_EVENT_COUNT CONFIG_ACCEL_FIFO_SIZE #else #define MAX_FIFO_EVENT_COUNT 0 #endif |