From 1bc1e3faeb85e787f330731614ed20be3a8484cd Mon Sep 17 00:00:00 2001 From: Jacob Walser Date: Thu, 2 Mar 2017 15:12:31 -0500 Subject: [PATCH] Sub: Update Notify pre_arm_gps_flag --- ArduSub/ArduSub.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduSub/ArduSub.cpp b/ArduSub/ArduSub.cpp index 285fd01951..a55dc42854 100644 --- a/ArduSub/ArduSub.cpp +++ b/ArduSub/ArduSub.cpp @@ -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);