Skip to content

Commit 42fba4b

Browse files
philmozpfeerick
authored andcommitted
fix(bw128): telemetry source name overlaps V1 value on logical switch list view (#5109)
1 parent 7af8dc3 commit 42fba4b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

radio/src/gui/128x64/lcd.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,10 @@ void drawSource(coord_t x, coord_t y, uint32_t idx, LcdFlags att)
688688
}
689689
#endif
690690
else {
691-
lcdDrawText(x, y, getSourceString(idx), att);
691+
const char* s = getSourceString(idx);
692+
if (idx >= MIXSRC_FIRST_TELEM && idx <= MIXSRC_LAST_TELEM)
693+
s += strlen(STR_CHAR_TELEMETRY);
694+
lcdDrawText(x, y, s, att);
692695
}
693696
}
694697

0 commit comments

Comments
 (0)