Skip to content

Commit

Permalink
Copter: make failed-to-change-mode message uniform
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed Sep 25, 2024
1 parent 8797a07 commit f753522
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ArduCopter/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ void Copter::set_mode_auto_do_land_start_or_RTL(ModeReason reason)
}
#endif

gcs().send_text(MAV_SEVERITY_WARNING, "Trying RTL Mode");
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "AutoRTL Unavailable, Trying RTL Mode");
set_mode_RTL_or_land_with_pause(reason);
}

Expand All @@ -446,8 +446,7 @@ void Copter::set_mode_brake_or_land_with_pause(ModeReason reason)
return;
}
#endif

gcs().send_text(MAV_SEVERITY_WARNING, "Trying Land Mode");
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "Brake Unavailable, Trying Land Mode");
set_mode_land_with_pause(reason);
}

Expand Down

0 comments on commit f753522

Please sign in to comment.