diff options
Diffstat (limited to 'driver')
-rw-r--r-- | driver/accelgyro_icm426xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/accelgyro_icm426xx.c b/driver/accelgyro_icm426xx.c index 0f21c2f021..9a9299735e 100644 --- a/driver/accelgyro_icm426xx.c +++ b/driver/accelgyro_icm426xx.c @@ -865,6 +865,8 @@ static int icm426xx_init(const struct motion_sensor_t *s) for (i = X; i <= Z; i++) saved_data->scale[i] = MOTION_SENSE_DEFAULT_SCALE; + saved_data->odr = 0; + /* set sensor filter */ switch (s->type) { case MOTIONSENSE_TYPE_ACCEL: |