fix(bw212): timer display on telemetry screen, main view (#5384)

This commit is contained in:
Peter Feerick
2024-08-06 11:46:42 +10:00
committed by GitHub
parent e8aad3b33e
commit 687b28dadd
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -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];
@@ -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);
}
+1 -1
View File
@@ -369,7 +369,7 @@ void displayTimers()
val = (int)timerData.start - (int)timerState.val;
drawTimer(TIMERS_X, y, val, TIMEHOUR|MIDSIZE|LEFT, TIMEHOUR|MIDSIZE|LEFT);
if (timerData.persistent) {
lcdDrawChar(TIMERS_R, y+1, 'P', SMLSIZE);
lcdDrawChar(TIMERS_R, y-7, 'P', SMLSIZE);
}
if (timerState.val < 0) {
if (BLINK_ON_PHASE) {