diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index c5129c9de6326b..d2dcba93e68fa1 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -1520,7 +1520,7 @@ bool AP_InertialSensor::accels_consistent(float accel_error_threshold, uint8_t c // get next accel vector const Vector3f &accel_vec = get_accel(i); Vector3f vec_diff = accel_vec - prime_accel_vec; - // allow for user-defined difference, typically 0.75 m/s/s. Has to pass in last 10 seconds + // allow for user-defined difference, threshold m/s/s. Has to pass in last consistent_time_sec seconds float threshold = accel_error_threshold; if (i >= 2) { /*