From 237672122e102b375842a0e3026836b5fca4778c Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Thu, 15 Jul 2021 19:34:22 +1000 Subject: [PATCH] Make outputs widget use outputs names --- radio/src/gui/colorlcd/widgets/outputs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/gui/colorlcd/widgets/outputs.cpp b/radio/src/gui/colorlcd/widgets/outputs.cpp index 71c634562..3a79eef6f 100644 --- a/radio/src/gui/colorlcd/widgets/outputs.cpp +++ b/radio/src/gui/colorlcd/widgets/outputs.cpp @@ -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); } 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; @@ -111,7 +111,7 @@ class OutputsWidget: public Widget lastRefresh = now; invalidate(); } - + invalidate(); }