1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +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

@ -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
}
});
};