feat(b&w): Show time on main and telemetry 128x64 screens (#3306)
* Display time on main screen and telemetry for B&W radios. Fix position for timer0 display on telemetry screen (was off screen). * Put the time between the trim bars. Center the stick boxes and the pot/slider bars. * Remove code for unsupported radios.
This commit is contained in:
@@ -626,11 +626,14 @@ void drawTelemetryTopBar()
|
||||
{
|
||||
drawModelName(0, 0, g_model.header.name, g_eeGeneral.currModel, 0);
|
||||
uint8_t att = (IS_TXBATT_WARNING() ? BLINK : 0);
|
||||
putsVBat(14*FW,0,att);
|
||||
putsVBat(10*FW-1,0,att);
|
||||
if (g_model.timers[0].mode) {
|
||||
att = (timersStates[0].val<0 ? BLINK : 0);
|
||||
drawTimer(17*FW+5*FWNUM+1, 0, timersStates[0].val, att, att);
|
||||
drawTimer(13*FW+2, 0, timersStates[0].val, att, att);
|
||||
}
|
||||
#if defined(RTCLOCK)
|
||||
drawRtcTime(17*FW+3, 0, LEFT|TIMEBLINK);
|
||||
#endif
|
||||
lcdInvertLine(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user