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 committed Nov 25, 2024
1 parent fdcbb09 commit a4ba8f0
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 a4ba8f0

Please sign in to comment.