feat(bw): do not show time on main view when RTC not set (#5342)
This commit is contained in:
@@ -674,13 +674,13 @@ void menuMainView(event_t event)
|
||||
lcdDrawText(15 * FW, 0, "BIND", 0);
|
||||
}
|
||||
#if defined(RTCLOCK)
|
||||
else if (view_base != VIEW_CHAN_MONITOR) {
|
||||
else if (view_base != VIEW_CHAN_MONITOR && rtcIsValid()) {
|
||||
drawRtcTime(CLOCK_X, CLOCK_Y, LEFT|TIMEBLINK);
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
#if defined(RTCLOCK)
|
||||
if (view_base != VIEW_CHAN_MONITOR) {
|
||||
if (view_base != VIEW_CHAN_MONITOR && rtcIsValid()) {
|
||||
drawRtcTime(CLOCK_X, CLOCK_Y, LEFT|TIMEBLINK);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user