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