Commander: Fix parameter bug in preflight check function

This commit is contained in:
Johan Jansen
2015-05-14 20:30:10 +02:00
parent f020ad4ba3
commit fee02c6943
2 changed files with 4 additions and 4 deletions

View File

@@ -689,5 +689,5 @@ int prearm_check(const struct vehicle_status_s *status, const int mavlink_fd)
checkAirspeed = true;
}
return !Commander::preflightCheck(mavlink_fd, true, true, true, true, checkAirspeed, true, true);
return !Commander::preflightCheck(mavlink_fd, true, true, true, true, checkAirspeed, true, status->circuit_breaker_engaged_gpsfailure_check, true);
}