fix(bw128): telemetry source name overlaps V1 value on logical switch list view (#5109)

This commit is contained in:
philmoz
2024-06-03 13:12:08 +10:00
committed by GitHub
parent 3bc42e4538
commit 3543044c79
+4 -1
View File
@@ -704,7 +704,10 @@ void drawSource(coord_t x, coord_t y, mixsrc_t idx, LcdFlags att)
}
#endif
else {
lcdDrawText(x, y, getSourceString(idx), att);
const char* s = getSourceString(idx);
if (idx >= MIXSRC_FIRST_TELEM && idx <= MIXSRC_LAST_TELEM)
s += strlen(STR_CHAR_TELEMETRY);
lcdDrawText(x, y, s, att);
}
}