Skip to content

Commit 6900ed5

Browse files
authored
Merge pull request #1822 from iNavFlight/mmosca-smarter-pwm-assignment
Fixes servo display in mixer tab for MC #1821
2 parents dae2b82 + ac1cc38 commit 6900ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/outputMapping.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ let OutputMappingCollection = function () {
5757
timerMap[i] = null;
5858

5959
if (isMR) {
60-
if (servosToGo > 0 && bit_check(data[i], TIM_USE_MC_SERVO)) {
60+
if (servosToGo > 0 && bit_check(data[i]['usageFlags'], TIM_USE_MC_SERVO)) {
6161
servosToGo--;
6262
timerMap[i] = OUTPUT_TYPE_SERVO;
6363
} else if (motorsToGo > 0 && bit_check(data[i]['usageFlags'], TIM_USE_MC_MOTOR)) {

0 commit comments

Comments
 (0)