diff --git a/board/kahlee/board.c b/board/kahlee/board.c index 9d06a87a78..529081b38d 100644 --- a/board/kahlee/board.c +++ b/board/kahlee/board.c @@ -570,8 +570,9 @@ struct motion_sensor_t motion_sensors[] = { .odr = 0, .ec_rate = 0, }, + /* Setup for AP for rotation detection */ [SENSOR_CONFIG_EC_S0] = { - .odr = 0, + .odr = 10000 | ROUND_UP_FLAG, .ec_rate = 0, }, [SENSOR_CONFIG_EC_S3] = { diff --git a/board/kahlee/board.h b/board/kahlee/board.h index c780f722d8..07f4d29500 100644 --- a/board/kahlee/board.h +++ b/board/kahlee/board.h @@ -292,6 +292,9 @@ void board_reset_pd_mcu(void); int board_get_version(void); +/* Sensors without hardware FIFO are in forced mode */ +#define CONFIG_ACCEL_FORCE_MODE_MASK (1 << LID_ACCEL) + #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */