summaryrefslogtreecommitdiff
path: root/driver/accelgyro_bmi_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/accelgyro_bmi_common.h')
-rw-r--r--driver/accelgyro_bmi_common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/driver/accelgyro_bmi_common.h b/driver/accelgyro_bmi_common.h
index 33648b2539..d7906b68ee 100644
--- a/driver/accelgyro_bmi_common.h
+++ b/driver/accelgyro_bmi_common.h
@@ -267,9 +267,7 @@ int bmi_decode_header(struct motion_sensor_t *accel,
*/
int bmi_load_fifo(struct motion_sensor_t *s, uint32_t last_ts);
-int bmi_set_range(const struct motion_sensor_t *s, int range, int rnd);
-
-int bmi_get_range(const struct motion_sensor_t *s);
+int bmi_set_range(struct motion_sensor_t *s, int range, int rnd);
int bmi_get_data_rate(const struct motion_sensor_t *s);