diff options
Diffstat (limited to 'board/wheatley/board.c')
-rw-r--r-- | board/wheatley/board.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/wheatley/board.c b/board/wheatley/board.c index 987bc6db6d..a276d4344d 100644 --- a/board/wheatley/board.c +++ b/board/wheatley/board.c @@ -476,6 +476,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &bmi160_drv, .mutex = &g_base_mutex, .drv_data = &g_bmi160_data, + .port = I2C_PORT_ACCEL .addr = BMI160_ADDR0, .rot_standard_ref = NULL, /* Identity matrix. */ .default_range = 2, /* g, enough for laptop. */ @@ -511,6 +512,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &bmi160_drv, .mutex = &g_base_mutex, .drv_data = &g_bmi160_data, + .port = I2C_PORT_ACCEL, .addr = BMI160_ADDR0, .default_range = 1000, /* dps */ .rot_standard_ref = NULL, /* Identity Matrix. */ @@ -546,6 +548,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &kionix_accel_drv, .mutex = &g_lid_mutex, .drv_data = &g_kx022_data, + .port = I2C_PORT_ACCEL, .addr = KX022_ADDR1, .rot_standard_ref = NULL, /* Identity matrix. */ .default_range = 2, /* g, enough for laptop. */ |