Merge pull request #469 from iNavFlight/agh_fix_motor_names

Fix motor names in the mixer tab
pull/473/head
Paweł Spychalski 6 years ago committed by GitHub
commit 316f8fae8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -78,8 +78,8 @@ TABS.mixer.initialize = function (callback, scrollPosition) {
servoRules = SERVO_RULES.get(),
output;
for (let index in motorRules) {
if (motorRules.hasOwnProperty(index) && motorRules[index].isUsed()) {
for (var index = 0; index < motorRules.length; index++) {
if (motorRules[index].isUsed()) {
if (MIXER_CONFIG.platformType == PLATFORM_MULTIROTOR || MIXER_CONFIG.platformType == PLATFORM_TRICOPTER) {
output = OUTPUT_MAPPING.getMrMotorOutput(index);
} else {

Loading…
Cancel
Save