mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 17:53:59 -04:00
AP_Airspeed: updated comment to match PR
This commit is contained in:
parent
efd0f0b832
commit
84bdf15203
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user