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

Correcty unique used servo indexes

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-09-29 12:45:42 +02:00
parent 951dd7faa6
commit dc910e4702

View file

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