From e7ec5f75d0f0e7c63c4920a2a55dd50b86069fad Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 22 Nov 2018 00:23:18 +0100 Subject: [PATCH] display clock on segment display too Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/33d34feb545c4f2e9c0f03591893bc432538a60b Author: TangoCash Date: 2018-11-22 (Thu, 22 Nov 2018) --- src/driver/simple_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/simple_display.cpp b/src/driver/simple_display.cpp index 619a53122..13f3468b6 100644 --- a/src/driver/simple_display.cpp +++ b/src/driver/simple_display.cpp @@ -332,7 +332,7 @@ void CLCD::showTime(bool force) ret = ioctl(fd, VFDSETTIME2, &now); close(fd); #endif - if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT) + if ((g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT) || (g_info.hw_caps->display_type == HW_DISPLAY_LED_NUM)) { #if HAVE_ARM_HARDWARE if (mode == MODE_STANDBY || (g_settings.lcd_info_line && mode == MODE_TVRADIO))