failsafe: make warnx more clear

This commit is contained in:
Thomas Gubler 2014-08-15 00:07:38 +02:00
parent 0f2b66fa8b
commit 6fe0482b27
1 changed files with 2 additions and 2 deletions

View File

@ -552,10 +552,10 @@ bool handle_command(struct vehicle_status_s *status_local, const struct safety_s
if (cmd->param1 > 0.5f) {
//XXX update state machine?
armed_local->force_failsafe = true;
warnx("forcing failsafe");
warnx("forcing failsafe (termination)");
} else {
armed_local->force_failsafe = false;
warnx("disabling failsafe");
warnx("disabling failsafe (termination)");
}
/* param2 is currently used for other failsafe modes */
status_local->engine_failure_cmd = false;