mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 15:40:35 +08:00
Commander: indicate failsafe reasons more clearly
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user