mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
fix segfault in standby
This commit is contained in:
@@ -332,6 +332,8 @@ 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 HAVE_ARM_HARDWARE
|
||||
if (mode == MODE_STANDBY || (g_settings.lcd_info_line && mode == MODE_TVRADIO))
|
||||
#else
|
||||
@@ -355,6 +357,7 @@ void CLCD::showTime(bool force)
|
||||
last_display = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (led_r)
|
||||
red = blink;
|
||||
|
Reference in New Issue
Block a user