Skip to content

Commit

Permalink
adsb: fix avr ground speed
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Feb 7, 2025
1 parent 4181c1c commit dff88f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExtLibs/Utilities/adsb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ public void ReadMessage(Stream st1)
PointLatLngAltHdg plla = new PointLatLngAltHdg(plane.plla());
plla.Heading = (float)plane.heading;
if (plane.CallSign != null) plla.CallSign = plane.CallSign;
plla.Speed = (float)plane.ground_speed * KNOTS_TO_CMS;
plla.Speed = (float)plane.ground_speed;
if (plla.Lat == 0 && plla.Lng == 0)
continue;
if (UpdatePlanePosition != null && plla != null)
Expand Down

0 comments on commit dff88f8

Please sign in to comment.