Skip to content

Commit

Permalink
Common: add mapicondesc for ArduCopter
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuy committed Feb 18, 2025
1 parent a4c5a09 commit 649578a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ public static GMapMarker getMAVMarker(MAVState MAV, GMapOverlay overlay = null)
MAV.sysid)
{
IsActive = MAV == MainV2.comPort?.MAV,
ToolTipText = ArduPilot.Common.speechConversion(MAV, "" + Settings.Instance["mapicondesc"]),
ToolTipMode = String.IsNullOrEmpty(Settings.Instance["mapicondesc"]) ?
MarkerTooltipMode.Never :
MarkerTooltipMode.Always,
Tag = MAV
};
}
Expand Down

0 comments on commit 649578a

Please sign in to comment.