Plane: pre_arm_gps_check flag always true

This commit is contained in:
Randy Mackay 2014-12-24 22:26:10 +09:00
parent 2ea9b8a5a8
commit 11def53ca7

View File

@ -1059,6 +1059,7 @@ static void one_second_loop()
// update notify flags
AP_Notify::flags.pre_arm_check = arming.pre_arm_checks(false);
AP_Notify::flags.pre_arm_gps_check = true;
AP_Notify::flags.armed = arming.is_armed() || arming.arming_required() == AP_Arming::NO;
#if AP_TERRAIN_AVAILABLE