1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

FW MR landing settings + Jump fix

This commit is contained in:
breadoven 2025-04-27 23:57:30 +01:00
parent aaf347e9d1
commit 547038daca
2 changed files with 20 additions and 2 deletions

View file

@ -320,6 +320,16 @@ let WaypointCollection = function () {
return outputNumber;
}
self.convertWaypointToJumpNumber = function(jumpId) {
let outputNumber = 0;
self.getNonAttachedList().forEach(function (element) {
if (element.getNumber() == jumpId) {
outputNumber = element.getLayerNumber();
}
});
return outputNumber;
}
self.isJumpTargetAttached = function(waypoint) {
let lJumptTargetAttached = [];
data.forEach(function (element) {