mirror of
https://github.com/freebip/BipEmulator.git
synced 2026-10-22 22:22:09 +03:00
Исправление навигационной функции
This commit is contained in:
1 parent
64d5b5c06e
commit
b6ca4e44fe
1 file changed
+1
-1
@@ -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
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user