summaryrefslogtreecommitdiff
path: root/board/wheatley/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/wheatley/board.c')
-rw-r--r--board/wheatley/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/wheatley/board.c b/board/wheatley/board.c
index c404475734..4d4f8a0914 100644
--- a/board/wheatley/board.c
+++ b/board/wheatley/board.c
@@ -471,6 +471,8 @@ struct motion_sensor_t motion_sensors[] = {
.addr = KX022_ADDR1,
.rot_standard_ref = NULL, /* Identity matrix. */
.default_range = 2, /* g, enough for laptop. */
+ .min_frequency = KX022_ACCEL_MIN_FREQ,
+ .max_frequency = KX022_ACCEL_MAX_FREQ,
.config = {
/* AP: suspended until AP asks for data. */
[SENSOR_CONFIG_AP] = {
@@ -507,6 +509,8 @@ struct motion_sensor_t motion_sensors[] = {
.addr = BMI160_ADDR0,
.rot_standard_ref = NULL, /* Identity matrix. */
.default_range = 2, /* g, enough for laptop. */
+ .min_frequency = BMI160_ACCEL_MIN_FREQ,
+ .max_frequency = BMI160_ACCEL_MAX_FREQ,
.config = {
/* AP: suspended until AP asks for data. */
[SENSOR_CONFIG_AP] = {
@@ -544,6 +548,8 @@ struct motion_sensor_t motion_sensors[] = {
.addr = BMI160_ADDR0,
.default_range = 1000, /* dps */
.rot_standard_ref = NULL, /* Identity Matrix. */
+ .min_frequency = BMI160_GYRO_MIN_FREQ,
+ .max_frequency = BMI160_GYRO_MAX_FREQ,
.config = {
/* AP: by default shutdown all sensors */
[SENSOR_CONFIG_AP] = {