diff options
author | Julian Oes <julian@oes.ch> | 2014-11-10 21:38:46 +1000 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-11-10 21:38:46 +1000 |
commit | f7db91ac32d6db1fbef9aa0c868636561bd2282c (patch) | |
tree | 3f394504925a1512e7e436873028887d1abf69f4 /src/modules | |
parent | d253c8ba7d9cfc408328afd7c3708892b23626c0 (diff) | |
download | px4-firmware-f7db91ac32d6db1fbef9aa0c868636561bd2282c.tar.gz px4-firmware-f7db91ac32d6db1fbef9aa0c868636561bd2282c.tar.bz2 px4-firmware-f7db91ac32d6db1fbef9aa0c868636561bd2282c.zip |
commander: enhance the failsafe verbose output
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/commander/commander.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 1c3b68edd..f9ea4e914 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -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; } |