Skip to content

Commit

Permalink
fix(bw128): telemetry source name overlaps V1 value on logical switch…
Browse files Browse the repository at this point in the history
… list view (EdgeTX#5109)
  • Loading branch information
philmoz authored Jun 3, 2024
1 parent 3bc42e4 commit 3543044
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion radio/src/gui/128x64/lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 3543044

Please sign in to comment.