Skip to content

Commit

Permalink
AP_InertialSensor: accel cal sample for 400ms instead of 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
jschall committed Mar 22, 2015
1 parent c8edb1b commit bb670f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_InertialSensor/AP_InertialSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ bool AP_InertialSensor::calibrate_accel(AP_InertialSensor_UserInteract* interact
}

uint32_t num_samples = 0;
while (num_samples < 1000/update_dt_milliseconds) {
while (num_samples < 400/update_dt_milliseconds) {
wait_for_sample();
// read samples from ins
update();
Expand Down

0 comments on commit bb670f2

Please sign in to comment.