Browse Source

AP_Arming: allow unconfigured GPS in SITL arming checks

the SITL GPS does not implement the needed protocol negotiation
master
Andrew Tridgell 9 years ago
parent
commit
b76aff2dcb
  1. 2
      libraries/AP_Arming/AP_Arming.cpp

2
libraries/AP_Arming/AP_Arming.cpp

@ -326,7 +326,9 @@ bool AP_Arming::gps_checks(bool report) @@ -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;

Loading…
Cancel
Save