From 50466848f7886622e7497cc29de994426080b02e Mon Sep 17 00:00:00 2001 From: Jonathan Challinger Date: Wed, 28 Jan 2015 15:17:10 -0800 Subject: [PATCH] AP_NavEKF: use hal.util soft_armed state --- libraries/AP_NavEKF/AP_NavEKF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_NavEKF/AP_NavEKF.cpp b/libraries/AP_NavEKF/AP_NavEKF.cpp index 6c5edc4be9..da116fb53d 100644 --- a/libraries/AP_NavEKF/AP_NavEKF.cpp +++ b/libraries/AP_NavEKF/AP_NavEKF.cpp @@ -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