From dbdda204cc8866b4f356da643c53d093fe7f10c6 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 12 Oct 2017 00:36:45 +0200 Subject: [PATCH] fix time in vfd Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a227dcb7e2b4ecf4eef426e3d2a3eaba3b9fc132 Author: TangoCash Date: 2017-10-12 (Thu, 12 Oct 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/simple_display.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/driver/simple_display.cpp b/src/driver/simple_display.cpp index 89e1d7266..c7329188f 100644 --- a/src/driver/simple_display.cpp +++ b/src/driver/simple_display.cpp @@ -363,7 +363,11 @@ void CLCD::showTime(bool force) #endif close(fd); #endif +#if HAVE_ARM_HARDWARE + if (mode == MODE_STANDBY || ( g_settings.lcd_info_line && (MODE_TVRADIO == mode))) +#else if (ret < 0 && servicename.empty()) +#endif { if (g_info.hw_caps->display_xres < 5) sprintf(timestr, "%02d%02d", hour, minute);