1
0
Fork 0
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:
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; return a-b;
}); });
} }