AP_Arming: allow unconfigured GPS in SITL arming checks

the SITL GPS does not implement the needed protocol negotiation
This commit is contained in:
Andrew Tridgell 2016-02-15 07:45:42 +11:00
parent 7debd14683
commit b76aff2dcb

View File

@ -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;