AP_Airspeed: updated comment to match PR

This commit is contained in:
Tom Pittenger 2016-12-05 17:19:57 -08:00
parent efd0f0b832
commit 84bdf15203

View File

@ -217,7 +217,7 @@ void AP_Airspeed::calibrate(bool in_startup)
*/ */
void AP_Airspeed::update_calibration(float raw_pressure) void AP_Airspeed::update_calibration(float raw_pressure)
{ {
// consider calibration complete when we have at least 10 samples // consider calibration complete when we have at least 15 samples
// over at least 1 second // over at least 1 second
if (AP_HAL::millis() - _cal.start_ms >= 1000 && if (AP_HAL::millis() - _cal.start_ms >= 1000 &&
_cal.read_count > 15) { _cal.read_count > 15) {