Return 0 for a non-reset

This commit is contained in:
Lorenz Meier 2014-07-24 17:42:45 +02:00
parent 1fdc666bb0
commit 87334a987a
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