Copter: ekf_check ok if optflow pos available

This commit is contained in:
Randy Mackay 2015-04-10 10:42:48 +09:00
parent 52f7186cbf
commit 4b5d07252e

View File

@ -90,7 +90,7 @@ static bool ekf_over_threshold()
}
// return true immediately if position is bad
if (!position_ok()) {
if (!position_ok() && !optflow_position_ok()) {
return true;
}