summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/fleex/board.c2
-rw-r--r--board/meep/board.c2
-rw-r--r--board/phaser/board.c2
-rw-r--r--board/yorp/board.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/board/fleex/board.c b/board/fleex/board.c
index 879c4fc959..eba235f85b 100644
--- a/board/fleex/board.c
+++ b/board/fleex/board.c
@@ -192,7 +192,7 @@ struct motion_sensor_t motion_sensors[] = {
.drv_data = &lsm6dsm_g_data,
.port = I2C_PORT_SENSOR,
.addr = LSM6DSM_ADDR0,
- .default_range = 1000, /* dps */
+ .default_range = 1000 | ROUND_UP_FLAG, /* dps */
.rot_standard_ref = &base_standard_ref,
.min_frequency = LSM6DSM_ODR_MIN_VAL,
.max_frequency = LSM6DSM_ODR_MAX_VAL,
diff --git a/board/meep/board.c b/board/meep/board.c
index 591e8758b9..df754ac8dd 100644
--- a/board/meep/board.c
+++ b/board/meep/board.c
@@ -202,7 +202,7 @@ struct motion_sensor_t motion_sensors[] = {
.drv_data = &lsm6dsm_g_data,
.port = I2C_PORT_SENSOR,
.addr = LSM6DSM_ADDR0,
- .default_range = 1000, /* dps */
+ .default_range = 1000 | ROUND_UP_FLAG, /* dps */
.rot_standard_ref = &base_standard_ref,
.min_frequency = LSM6DSM_ODR_MIN_VAL,
.max_frequency = LSM6DSM_ODR_MAX_VAL,
diff --git a/board/phaser/board.c b/board/phaser/board.c
index ee3c8601cb..1efa2c41cd 100644
--- a/board/phaser/board.c
+++ b/board/phaser/board.c
@@ -179,7 +179,7 @@ struct motion_sensor_t motion_sensors[] = {
.drv_data = &lsm6dsm_g_data,
.port = I2C_PORT_SENSOR,
.addr = LSM6DSM_ADDR0,
- .default_range = 1000, /* dps */
+ .default_range = 1000 | ROUND_UP_FLAG, /* dps */
.rot_standard_ref = &standard_rot_ref,
.min_frequency = LSM6DSM_ODR_MIN_VAL,
.max_frequency = LSM6DSM_ODR_MAX_VAL,
diff --git a/board/yorp/board.c b/board/yorp/board.c
index 0cfeccbd2e..7c3bc7adae 100644
--- a/board/yorp/board.c
+++ b/board/yorp/board.c
@@ -175,7 +175,7 @@ struct motion_sensor_t motion_sensors[] = {
.drv_data = &lsm6dsm_g_data,
.port = I2C_PORT_SENSOR,
.addr = LSM6DSM_ADDR0,
- .default_range = 1000, /* dps */
+ .default_range = 1000 | ROUND_UP_FLAG, /* dps */
.rot_standard_ref = &base_standard_ref,
.min_frequency = LSM6DSM_ODR_MIN_VAL,
.max_frequency = LSM6DSM_ODR_MAX_VAL,