- 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

@@ -56,7 +56,7 @@ class CLCD4l
void StartLCD4l();
void StopLCD4l();
void SwitchLCD4l();
void ForceRun() { wait4lcd = false; }
void ForceRun() { wait4daemon = false; }
int CreateFile(const char *file, std::string content = "", bool convert = false);
int RemoveFile(const char *file);
@@ -70,7 +70,7 @@ class CLCD4l
static void* LCD4lProc(void *arg);
struct tm *tm_struct;
bool wait4lcd;
bool wait4daemon;
// Functions
void Init();
@@ -84,8 +84,8 @@ class CLCD4l
void strReplace(std::string &orig, const std::string &fstr, const std::string &rstr);
bool WriteFile(const char *file, std::string content = "", bool convert = false);
void SetWaitStatus(bool wait) { wait4lcd = wait; }
bool GetWaitStatus() { return wait4lcd; }
void SetWaitStatus(bool wait) { wait4daemon = wait; }
bool GetWaitStatus() { return wait4daemon; }
// Variables
uint64_t m_ParseID;