Merge pull request #455 from EdgeTX/fixOutputWidgetNames

Make outputs widget use outputs names
This commit is contained in:
Peter Feerick
2021-07-15 20:59:53 +10:00
committed by GitHub
+1 -1
View File
@@ -75,7 +75,7 @@ class OutputsWidget: public Widget
dc->drawSizedText(barLft + 23, barTop, g_model.limitData[curChan - 1].name, sizeof(g_model.limitData[curChan - 1].name), FONT(XS) | DEFAULT_COLOR | LEFT); dc->drawSizedText(barLft + 23, barTop, g_model.limitData[curChan - 1].name, sizeof(g_model.limitData[curChan - 1].name), FONT(XS) | DEFAULT_COLOR | LEFT);
} }
else { else {
drawSource(dc, barLft + 1, barTop, curChan, FONT(XS) | DEFAULT_COLOR | LEFT); drawSource(dc, barLft + 1, barTop, MIXSRC_FIRST_CH+curChan-1, FONT(XS) | DEFAULT_COLOR | LEFT);
} }
} }
return lastChan - 1; return lastChan - 1;