Skip to content

Commit

Permalink
Fix ADSB Squawk back to decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub authored and meee1 committed Nov 25, 2024
1 parent fdcbb09 commit 5c46b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GCSViews/FlightData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4083,7 +4083,7 @@ private void mainloop()
adsbplane.ToolTipText = "ICAO: " + pllau.Tag + "\n" +
"Callsign: " + pllau.CallSign + "\n" +
"Squawk: " + pllau.Squawk.ToString("X4") + "\n" +
"Squawk: " + pllau.Squawk.ToString("0") + "\n" +
"Alt: " + (pllau.Alt * CurrentState.multiplieralt).ToString("0") + " " + CurrentState.AltUnit + "\n" +
"Speed: " + (pllau.Speed / 100 /* cm to m */ * CurrentState.multiplierspeed).ToString("0") + " " + CurrentState.SpeedUnit + "\n" +
"VSpeed: " + (pllau.VerticalSpeed / 100 /* cm to m */ * CurrentState.multiplierspeed).ToString("F1") + " " + CurrentState.SpeedUnit + "\n" +
Expand Down

0 comments on commit 5c46b09

Please sign in to comment.