diff --git a/_locales/en/messages.json b/_locales/en/messages.json index c0a52e3e..e9e1169e 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -102,7 +102,7 @@ "message": "GPS" }, "tabMotorTesting": { - "message": "Motors" + "message": "Outputs" }, "tabLedStrip": { "message": "LED Strip" diff --git a/js/fc.js b/js/fc.js index 69ab00d9..86411291 100644 --- a/js/fc.js +++ b/js/fc.js @@ -211,7 +211,7 @@ var FC = { }; MOTOR_DATA = new Array(8); - SERVO_DATA = new Array(8); + SERVO_DATA = new Array(16); GPS_DATA = { fix: 0, diff --git a/js/servoMixerRuleCollection.js b/js/servoMixerRuleCollection.js index 76ef8245..439336be 100644 --- a/js/servoMixerRuleCollection.js +++ b/js/servoMixerRuleCollection.js @@ -5,7 +5,7 @@ let ServoMixerRuleCollection = function () { let self = {}, data = [], - maxServoCount = 8; + maxServoCount = 16; self.setServoCount = function (value) { maxServoCount = value; diff --git a/src/css/tabs/motors.css b/src/css/tabs/motors.css index 7326e0d2..13fdbf3b 100644 --- a/src/css/tabs/motors.css +++ b/src/css/tabs/motors.css @@ -174,9 +174,7 @@ } .tab-motors .motorblock { - margin-bottom: 0px; background-color: #ECECEC; - /*background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.15));*/ } .tab-motors .left.motors { @@ -184,11 +182,6 @@ width: calc(50% - 50px); } -.tab-motors .right.servos { - float: right; - width: 50%; -} - .tab-motors .title { padding-bottom: 2px; text-align: center; @@ -199,7 +192,8 @@ padding-bottom: 2px; text-align: center; font-size: 12px; - font-family: 'open_sanslight', Arial; + font-weight: bold; + margin-bottom: 1em; } .tab-motors .titles { @@ -215,7 +209,7 @@ .tab-motors .servos .titles li { float: right; - width: calc((100% / 8) - 10px); + width: calc((100% / 16) - 10px); margin: 0 0 0 10px; } @@ -266,7 +260,7 @@ .tab-motors .servos .m-block { float: right; - width: calc((100% / 8) - 10px); + width: calc((100% / 16) - 10px); margin: 0 0 0 10px; border-radius: 3px; } @@ -310,7 +304,7 @@ text-align: center; } -.tab-motors .motor_testing .notice { +.tab-motors .motor_testing_notice { float: right; width: calc(50% - 24px); padding: 5px; @@ -320,10 +314,10 @@ font-size: 11px; } -.tab-motors .motor_testing .notice p { +.tab-motors .motor_testing_notice p { margin-bottom: 10px; } -.tab-motors .motor_testing .notice .motorsEnableTestMode { +.tab-motors .motor_testing_notice .motorsEnableTestMode { margin-left: 10px; } \ No newline at end of file diff --git a/tabs/mixer.js b/tabs/mixer.js index e17f1c02..a94a2db8 100644 --- a/tabs/mixer.js +++ b/tabs/mixer.js @@ -120,7 +120,7 @@ TABS.mixer.initialize = function (callback, scrollPosition) { $servoMixTableBody.append('\