Merge pull request #1226 from PX4/filter_mode

Return 0 for a non-reset - tested 40 mins in flight.
This commit is contained in:
Lorenz Meier 2014-07-25 12:50:59 -07:00
commit 5bf7d5774c
1 changed files with 1 additions and 1 deletions

View File

@ -2773,7 +2773,7 @@ int AttPosEKF::CheckAndBound(struct ekf_status_report *last_error)
ResetHeight();
ResetStoredStates();
ret = 3;
ret = 0;
}
// Reset the filter if gyro offsets are excessive