stae machine helper: remove unnecessary check for RC loss

This commit is contained in:
Thomas Gubler
2014-08-23 14:02:22 +02:00
parent ffd2fa7386
commit 3c10b78e20
2 changed files with 2 additions and 15 deletions
+1 -1
View File
@@ -566,7 +566,7 @@ bool handle_command(struct vehicle_status_s *status_local, const struct safety_s
status_local->rc_signal_lost_cmd = false;
if ((int)cmd->param2 <= 0) {
/* reset all commanded failure modes */
warnx("revert to normal mode");
warnx("reset all non-flighttermination failsafe commands");
} else if ((int)cmd->param2 == 1) {
/* trigger engine failure mode */
status_local->engine_failure_cmd = true;