From e9cfa8c1b63f4162dff99a07433b7a174d2f54e9 Mon Sep 17 00:00:00 2001 From: MUSTARDTIGER FPV <122312693+MUSTARDTIGERFPV@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:39:32 -0800 Subject: [PATCH] Revert "Fix ADSB Squawk back to decimal" This reverts commit 5c46b09c7191db6c49a25c6972b50422fa6dd0c1. --- GCSViews/FlightData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GCSViews/FlightData.cs b/GCSViews/FlightData.cs index d4af7a93d8..9b222c49ce 100644 --- a/GCSViews/FlightData.cs +++ b/GCSViews/FlightData.cs @@ -4083,7 +4083,7 @@ private void mainloop() adsbplane.ToolTipText = "ICAO: " + pllau.Tag + "\n" + "Callsign: " + pllau.CallSign + "\n" + - "Squawk: " + pllau.Squawk.ToString("0") + "\n" + + "Squawk: " + pllau.Squawk.ToString("X4") + "\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" +