1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 00:35:20 +03:00

remove flags

This commit is contained in:
breadoven 2021-10-18 21:13:39 +01:00
parent 92a12fc7b0
commit 54241f8afc
6 changed files with 62 additions and 81 deletions

View file

@ -455,8 +455,8 @@ var mspHelper = (function (gui) {
data.getInt32(10, true),
data.getInt16(14, true),
data.getInt16(16, true),
data.getInt16(18, true), // CR8
data.getUint8(20) // CR8
data.getInt16(18, true),
data.getUint8(20)
));
break;
case MSPCodes.MSP_BOXIDS:

View file

@ -72,7 +72,7 @@ let WaypointCollection = function () {
};
self.isEmpty = function () {
return data.length == 0; // CR9
return data.length == 0;
};
self.flush = function () {
@ -180,7 +180,6 @@ let WaypointCollection = function () {
optionIdx = 0;
idx++;
}
// CR8
if (!(bMWPfile && bReverse)) {
if (element.getNumber() == self.get().length - 1) {
element.setEndMission(0xA5);
@ -189,7 +188,6 @@ let WaypointCollection = function () {
element.setEndMission(0);
}
}
// CR8
}
});
};