1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-15 12:25:13 +03:00

Sealevel Ref

This commit is contained in:
Scavanger 2024-11-10 17:54:31 -03:00
parent 1623dfbb66
commit 0c4f12f499
6 changed files with 74 additions and 14 deletions

View file

@ -1608,16 +1608,17 @@ var mspHelper = (function () {
case MSPCodes.MSP2_INAV_GEOZONE:
var geozone = new Geozone(
data.getUint8(0),
data.getUint8(1),
data.getInt32(2, true),
data.getInt32(6, true),
data.getUint8(2),
data.getInt32(3, true),
data.getInt32(4, true),
data.getUint8(11),
0,
data.getInt8(10, true),
data.getInt8(12, true),
null,
data.getUint8(12, true),
data.getUint8(14, true),
);
let verticesCount = data.getUint8(11, true);
let verticesCount = data.getUint8(13, true);
if (verticesCount == 0) {
break;
}