mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Fix some minor issues on mixer tab
This commit is contained in:
parent
cf696de656
commit
4ebb8fb3ff
3 changed files with 22 additions and 3 deletions
|
@ -53,7 +53,7 @@ let OutputMappingCollection = function () {
|
|||
self.getOutputTable = function (isMR, motors, servos) {
|
||||
let currentMotorIndex = 1,
|
||||
currentServoIndex = 0,
|
||||
timerMap = getTimerMap(isMR, motors, servos),
|
||||
timerMap = getTimerMap(isMR, motors, servos.length),
|
||||
outputMap = [],
|
||||
offset = getFirstOutputOffset();
|
||||
|
||||
|
@ -67,7 +67,7 @@ let OutputMappingCollection = function () {
|
|||
outputMap[i] = "Motor " + currentMotorIndex;
|
||||
currentMotorIndex++;
|
||||
} else if (assignment == OUTPUT_TYPE_SERVO) {
|
||||
outputMap[i] = "Servo " + currentServoIndex;
|
||||
outputMap[i] = "Servo " + servos[currentServoIndex];
|
||||
currentServoIndex++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue