diff options
Diffstat (limited to 'board/ryu/board.c')
-rw-r--r-- | board/ryu/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/ryu/board.c b/board/ryu/board.c index 91c8fa750f..43843e653c 100644 --- a/board/ryu/board.c +++ b/board/ryu/board.c @@ -327,7 +327,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &bmi160_drv, .mutex = &g_mutex, .drv_data = &g_bmi160_data, - .i2c_addr = BMI160_ADDR0, + .addr = BMI160_ADDR0, .rot_standard_ref = &accelgyro_standard_ref, .default_config = { .odr = 100000, @@ -344,7 +344,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &bmi160_drv, .mutex = &g_mutex, .drv_data = &g_bmi160_data, - .i2c_addr = BMI160_ADDR0, + .addr = BMI160_ADDR0, .rot_standard_ref = &accelgyro_standard_ref, .default_config = { .odr = 0, @@ -361,7 +361,7 @@ struct motion_sensor_t motion_sensors[] = { .drv = &bmi160_drv, .mutex = &g_mutex, .drv_data = &g_bmi160_data, - .i2c_addr = BMI160_ADDR0, + .addr = BMI160_ADDR0, .rot_standard_ref = &mag_standard_ref, .default_config = { .odr = 0, |