feat: indicate in analog debug if serial gimbals are used (#5442)

This commit is contained in:
3djc
2024-08-18 11:52:21 +10:00
committed by GitHub
parent 2cf8878004
commit ce01091eea
10 changed files with 56 additions and 11 deletions
@@ -84,8 +84,11 @@ class AnaViewWindow : public Window
#endif
lv_obj_set_style_pad_column(line->getLvObj(), 8, 0);
if (((adcGetInputMask() & (1 << i)) != 0) && i < adcGetMaxInputs(ADC_INPUT_MAIN))
sprintf(s, "D%d :", i + 1);
else
sprintf(s, "%02d :", i + 1);
sprintf(s, "%02d :", i + 1);
new StaticText(line, rect_t{}, s);
auto lbl = new DynamicText(