Исправление навигационной функции

This commit is contained in:
freebipman 2020-09-16 10:21:48 +10:00
parent 64d5b5c06e
commit b6ca4e44fe

View File

@ -276,7 +276,7 @@ namespace BipEmulator.Host
pressure = (uint)((float)nudPressure.Value * 133.322f),
altitude = alt,
latitude = (int)(3e6 * Math.Abs(lat)),
ns = lat < 0 ? 1 : 0,
ns = lat < 0 ? 0 : 1,
longitude = (int)(3e6 * Math.Abs(lon)),
ew = lon < 0 ? 2 : 3
};