diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index 6b373377f9..b5a1f94493 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -507,7 +507,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();