- lcd4l: rename new variable wait4lcd => wait4daemon

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-01-20 23:33:59 +01:00
committed by Thilo Graf
parent 0e9396bc58
commit 3984f3f239
2 changed files with 7 additions and 6 deletions

View File

@@ -297,7 +297,7 @@ void CLCD4l::Init()
if (!access(LCD_DATADIR, F_OK) == 0)
mkdir(LCD_DATADIR, 0755);
wait4lcd = true;
wait4daemon = true;
}
void* CLCD4l::LCD4lProc(void* arg)
@@ -322,7 +322,8 @@ void* CLCD4l::LCD4lProc(void* arg)
{
if (g_settings.lcd4l_support == 1) // automatic
{
if (PLCD4l->GetWaitStatus()) {
if (PLCD4l->GetWaitStatus())
{
//printf("[CLCD4l] %s: waiting for lcd4linux\n", __FUNCTION__);
sleep(10);
continue;