From b76aff2dcb708de72a6d490f2aa96457735581eb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell <andrew@tridgell.net> Date: Mon, 15 Feb 2016 07:45:42 +1100 Subject: [PATCH] AP_Arming: allow unconfigured GPS in SITL arming checks the SITL GPS does not implement the needed protocol negotiation --- libraries/AP_Arming/AP_Arming.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index 700be7c3f4..73b0e58c55 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -326,7 +326,9 @@ bool AP_Arming::gps_checks(bool report) "PreArm: GPS %d has not been fully configured", first_unconfigured); } +#if CONFIG_HAL_BOARD != HAL_BOARD_SITL return false; +#endif } } return true;