ArduCopter: Preserve original check criteria

This commit is contained in:
Paul Riseborough 2020-04-18 20:40:30 +10:00 committed by Andrew Tridgell
parent 51b62a34b9
commit 8ce97af40e
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ bool Copter::ekf_over_threshold()
over_thresh_count++;
}
if (position_variance >= g.fs_ekf_thresh && over_thresh_count >= 1) {
if ((position_variance >= g.fs_ekf_thresh && over_thresh_count >= 1) || over_thresh_count >= 2) {
return true;
}