Skip to content

Commit

Permalink
fix(bw212): T2 being cut off on top bar of telemetry screen
Browse files Browse the repository at this point in the history
Fixes #5369. Regression from #3871.
  • Loading branch information
pfeerick committed Aug 5, 2024
1 parent c003cb4 commit 237bf39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions radio/src/gui/212x64/lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,8 @@ void drawTelemetryTopBar()
else
val = timersStates[0].val;
LcdFlags att = (val < 0 ? BLINK : 0) | TIMEHOUR;
drawTimer(22*FW, 0, val, att, att);
lcdDrawText(22*FW, 0, "T1:", RIGHT);
drawTimer(18*FW, 0, val, att, att);
lcdDrawText(18*FW, 0, "T1:", RIGHT);
}
if (g_model.timers[1].mode) {
TimerData *timer = &g_model.timers[1];
Expand All @@ -561,8 +561,8 @@ void drawTelemetryTopBar()
else
val = timersStates[1].val;
LcdFlags att = (val < 0 ? BLINK : 0) | TIMEHOUR;
drawTimer(31*FW, 0, val, att, att);
lcdDrawText(31*FW, 0, "T2:", RIGHT);
drawTimer(28*FW, 0, val, att, att);
lcdDrawText(28*FW, 0, "T2:", RIGHT);
}
lcdInvertLine(0);
}
Expand Down

0 comments on commit 237bf39

Please sign in to comment.