lcd4l: apply calls of exec_initscript() with "systemctl" as 3rd argument

Is required for image with system

NOTE: CLCD4l::lcd4linux(int run) is adjusted
but not really used at the moment
This commit is contained in:
2021-06-30 18:28:33 +02:00
parent de4a6ade64
commit 9a68009b96
2 changed files with 51 additions and 38 deletions

View File

@@ -67,7 +67,14 @@ class CLCD4l
int GetMaxBrightness();
void ResetParseID() { m_ParseID = 0; }
static void lcd4linux(bool run);
static void lcd4linux(int run);
enum
{
STOP_LCD4L = 0,
START_LCD4L = 1,
RELOAD_LCD4L = 2
};
private:
std::thread *thrLCD4l;
static void *LCD4lProc(void *arg);