mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- simple_display: fix showRCLock() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -403,8 +403,17 @@ void CLCD::showTime(bool force)
|
|||||||
setled(red, green);
|
setled(red, green);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLCD::showRCLock(int)
|
void CVFD::showRCLock(int duration)
|
||||||
{
|
{
|
||||||
|
if (g_info.hw_caps->display_type != HW_DISPLAY_LINE_TEXT || !g_settings.lcd_notify_rclock)
|
||||||
|
{
|
||||||
|
sleep(duration);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
display(g_Locale->getText(LOCALE_RCLOCK_LOCKED));
|
||||||
|
sleep(duration);
|
||||||
|
display(display_text);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update is default true, the mute code sets it to false
|
/* update is default true, the mute code sets it to false
|
||||||
|
Reference in New Issue
Block a user