fix segfault in standby

Origin commit data
------------------
Branch: ni/coolstream
Commit: a463644b32
Author: redblue-pkt <redblue-pkt@orange.pl>
Date: 2018-09-30 (Sun, 30 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
redblue-pkt
2018-09-30 22:42:49 +02:00
committed by vanhofen
parent 34e953e63d
commit 519630b356

View File

@@ -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;