summaryrefslogtreecommitdiff
path: root/board/rowan/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/rowan/board.c')
-rw-r--r--board/rowan/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/rowan/board.c b/board/rowan/board.c
index 4a63261b10..4cd8b01345 100644
--- a/board/rowan/board.c
+++ b/board/rowan/board.c
@@ -527,6 +527,8 @@ struct motion_sensor_t motion_sensors[] = {
.addr = BMI160_SET_SPI_ADDRESS(CONFIG_SPI_ACCEL_PORT),
.rot_standard_ref = &lid_standard_ref,
.default_range = 2, /* g, enough for laptop. */
+ .min_frequency = BMI160_ACCEL_MIN_FREQ,
+ .max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
/* AP: by default use EC settings */
[SENSOR_CONFIG_AP] = {
@@ -563,6 +565,8 @@ struct motion_sensor_t motion_sensors[] = {
.addr = BMI160_SET_SPI_ADDRESS(CONFIG_SPI_ACCEL_PORT),
.default_range = 1000, /* dps */
.rot_standard_ref = &lid_standard_ref,
+ .min_frequency = BMI160_GYRO_MIN_FREQ,
+ .max_frequency = BMI160_GYRO_MAX_FREQ,
.config = {
/* AP: by default shutdown all sensors */
[SENSOR_CONFIG_AP] = {