forked from Archive/PX4-Autopilot
commander: enhance the failsafe verbose output
This commit is contained in:
parent
d253c8ba7d
commit
f7db91ac32
|
@ -1851,7 +1851,11 @@ int commander_thread_main(int argc, char *argv[])
|
|||
|
||||
if (status.failsafe != failsafe_old) {
|
||||
status_changed = true;
|
||||
mavlink_log_info(mavlink_fd, "[cmd] failsafe state: %i", status.failsafe);
|
||||
if (status.failsafe) {
|
||||
mavlink_log_info(mavlink_fd, "[cmd] failsafe on");
|
||||
} else {
|
||||
mavlink_log_info(mavlink_fd, "[cmd] failsafe off");
|
||||
}
|
||||
failsafe_old = status.failsafe;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue