forked from Archive/PX4-Autopilot
failsafe: make warnx more clear
This commit is contained in:
parent
0f2b66fa8b
commit
6fe0482b27
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue