commander: Add param and mode to disable RC input in general and required validation / setup.

This commit is contained in:
Lorenz Meier
2015-05-24 13:15:28 +02:00
parent b54d4f5b05
commit bed746c213
3 changed files with 22 additions and 5 deletions

View File

@@ -692,5 +692,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, !status->circuit_breaker_engaged_gpsfailure_check, true);
return !Commander::preflightCheck(mavlink_fd, true, true, true, true, checkAirspeed, !status->rc_input_off, !status->circuit_breaker_engaged_gpsfailure_check, true);
}