Fix missing line on X7 and on x9 and x7 prevent unnecessary redraw of line (#4398)
This commit is contained in:
@@ -99,6 +99,8 @@ bool displayNumbersTelemetryScreen(FrSkyScreenData & screen)
|
||||
// Custom Screen with numbers
|
||||
const coord_t pos[] = {0, 71, 143, 214};
|
||||
uint8_t fields_count = 0;
|
||||
lcdDrawSolidVerticalLine(69, 8, 48);
|
||||
lcdDrawSolidVerticalLine(141, 8, 48);
|
||||
for (uint8_t i=0; i<4; i++) {
|
||||
for (uint8_t j=0; j<NUM_LINE_ITEMS; j++) {
|
||||
source_t field = screen.lines[i].sources[j];
|
||||
@@ -106,8 +108,6 @@ bool displayNumbersTelemetryScreen(FrSkyScreenData & screen)
|
||||
fields_count++;
|
||||
}
|
||||
if (i==3) {
|
||||
lcdDrawSolidVerticalLine(69, 8, 48);
|
||||
lcdDrawSolidVerticalLine(141, 8, 48);
|
||||
if (!TELEMETRY_STREAMING()) {
|
||||
displayRssiLine();
|
||||
return fields_count;
|
||||
|
||||
Reference in New Issue
Block a user