From be78a8829fe5fa4f54e034a2d3730628ce512053 Mon Sep 17 00:00:00 2001 From: 3djc Date: Sat, 20 May 2023 10:55:17 +0200 Subject: [PATCH] Display user friendly pot name --- radio/src/gui/colorlcd/hw_inputs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/colorlcd/hw_inputs.cpp b/radio/src/gui/colorlcd/hw_inputs.cpp index 29d6efb6c..2898bdc5c 100644 --- a/radio/src/gui/colorlcd/hw_inputs.cpp +++ b/radio/src/gui/colorlcd/hw_inputs.cpp @@ -82,7 +82,7 @@ HWPots::HWPots(Window* parent) : FormGroup(parent, rect_t{}) // if (!globalData.flyskygimbals && (i >= (NUM_POTS - 2))) continue; // #endif auto line = newLine(&grid); - new StaticText(line, rect_t{}, analogGetCanonicalName(ADC_INPUT_POT, i), 0, + new StaticText(line, rect_t{}, adcGetInputLabel(ADC_INPUT_POT, i), 0, COLOR_THEME_PRIMARY1); auto box = new FormGroup(line, rect_t{});