1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-23 16:25:19 +03:00

fix to negative GPS altitude

This commit is contained in:
Pawel Spychalski (DzikuVx) 2017-01-11 19:45:09 +01:00
parent 04612a94e8
commit b2715e8c68

View file

@ -148,7 +148,7 @@ var mspHelper = (function (gui) {
GPS_DATA.numSat = data.getUint8(1);
GPS_DATA.lat = data.getInt32(2, true);
GPS_DATA.lon = data.getInt32(6, true);
GPS_DATA.alt = data.getUint16(10, true);
GPS_DATA.alt = data.getInt16(10, true);
GPS_DATA.speed = data.getUint16(12, true);
GPS_DATA.ground_course = data.getUint16(14, true);
GPS_DATA.hdop = data.getUint16(16, true);