Commander: indicate failsafe reasons more clearly

This commit is contained in:
Lorenz Meier
2017-04-09 12:22:50 +02:00
parent 10ebac2026
commit 08cf97c687
2 changed files with 3 additions and 3 deletions
@@ -526,7 +526,7 @@ void enable_failsafe(struct vehicle_status_s *status, bool old_failsafe, orb_adv
const char *reason)
{
if (!old_failsafe) {
mavlink_and_console_log_info(mavlink_log_pub, reason);
mavlink_log_critical(mavlink_log_pub, "Failsafe enabled: %s", reason);
}
status->failsafe = true;