Sub: Update Notify pre_arm_gps_flag

This commit is contained in:
Jacob Walser 2017-03-02 15:12:31 -05:00
parent 0803371956
commit 1bc1e3faeb

View File

@ -373,6 +373,7 @@ void Sub::three_hz_loop()
void Sub::one_hz_loop()
{
AP_Notify::flags.pre_arm_check = arming.pre_arm_checks(false);
AP_Notify::flags.pre_arm_gps_check = position_ok();
if (should_log(MASK_LOG_ANY)) {
Log_Write_Data(DATA_AP_STATE, ap.value);