mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 11:59:51 +03:00
Correcty unique used servo indexes
This commit is contained in:
parent
951dd7faa6
commit
dc910e4702
1 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,9 @@ let ServoMixerRuleCollection = function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return jQuery.unique(out).sort(function(a, b){
|
let unique = [...new Set(out)];
|
||||||
|
|
||||||
|
return unique.sort(function(a, b) {
|
||||||
return a-b;
|
return a-b;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue