mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
simple_display: fix showRCLock() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: dbce194f82
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-01 (Wed, 01 Nov 2017)
Origin message was:
------------------
- simple_display: fix showRCLock() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
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