diff options
-rw-r--r-- | board/kevin/board.c | 2 | ||||
-rw-r--r-- | board/kevin/board.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/board/kevin/board.c b/board/kevin/board.c index dfcfc6aa97..184b3cf1a9 100644 --- a/board/kevin/board.c +++ b/board/kevin/board.c @@ -470,7 +470,7 @@ struct motion_sensor_t motion_sensors[] = { /* EC use accel for angle detection */ [SENSOR_CONFIG_EC_S0] = { .odr = 10000 | ROUND_UP_FLAG, - .ec_rate = 0, + .ec_rate = 100 * MSEC, }, /* Sensor off in S3/S5 */ [SENSOR_CONFIG_EC_S3] = { diff --git a/board/kevin/board.h b/board/kevin/board.h index b97519a5ef..43fe50b6c3 100644 --- a/board/kevin/board.h +++ b/board/kevin/board.h @@ -85,11 +85,9 @@ #define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3) /* - * Sensor internal FIFO are not enabled, we need to poll at - * every data point. + * Sensor internal FIFO is enabled for BMI160, but not for BMA255. */ -#define CONFIG_ACCEL_FORCE_MODE_MASK \ - ((1 << BASE_ACCEL) | (1 << BASE_GYRO) | (1 << LID_ACCEL)) +#define CONFIG_ACCEL_FORCE_MODE_MASK (1 << LID_ACCEL) /* USB PD config */ #define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL |