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:
parent
aaf347e9d1
commit
547038daca
2 changed files with 20 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue