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
+7 -1
View File
@@ -86,7 +86,13 @@ void menuRadioDiagAnalogs(event_t event)
x = INDENT_WIDTH;
y += FH;
}
drawStringWithIndex(x, y, "A", i + 1);
if (((adcGetInputMask() & (1 << i)) != 0) && i < adcGetMaxInputs(ADC_INPUT_MAIN)) {
lcdDrawText(x, y, "D");
lcdDrawNumber(lcdNextPos, y, i + 1);
}
else {
lcdDrawNumber(x, y, i+1, LEADING0|LEFT, 2);
}
lcdDrawChar(lcdNextPos, y, ':');
switch (viewpage) {
case (ANAVIEW_RAWLOWFPS):