mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-17 21:35:30 +03:00
Merge pull request #1072 from iNavFlight/dzikuvx-fix-output-mapping
Correcty unique used servo indexes
This commit is contained in:
commit
edf99e66d3
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;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue