AP_NavEKF: use hal.util soft_armed state

This commit is contained in:
Jonathan Challinger 2015-01-28 15:17:10 -08:00 committed by Andrew Tridgell
parent 180c85817d
commit 50466848f7
1 changed files with 1 additions and 1 deletions

View File

@ -4438,7 +4438,7 @@ bool NavEKF::optFlowDataPresent(void) const
// return true if the vehicle is requesting the filter to be ready for flight
bool NavEKF::getVehicleArmStatus(void) const
{
return _ahrs->get_armed() || _ahrs->get_correct_centrifugal();
return hal.util->get_soft_armed() || _ahrs->get_correct_centrifugal();
}
// return true if we should use the compass