mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
lcd4linux: migrate lcd4linux(bool) to class member
This commit is contained in:
@@ -1246,7 +1246,7 @@ std::string CLCD4l::hexStrA2A(unsigned char data)
|
|||||||
return std::string(hexstr);
|
return std::string(hexstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void lcd4linux(bool run)
|
void CLCD4l::lcd4linux(bool run)
|
||||||
{
|
{
|
||||||
const char *buf = "lcd4linux";
|
const char *buf = "lcd4linux";
|
||||||
const char *conf = "/etc/lcd4linux.conf";
|
const char *conf = "/etc/lcd4linux.conf";
|
||||||
|
@@ -33,7 +33,6 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
static void lcd4linux(bool run);
|
|
||||||
|
|
||||||
class CLCD4l
|
class CLCD4l
|
||||||
{
|
{
|
||||||
@@ -67,7 +66,7 @@ class CLCD4l
|
|||||||
int GetMaxBrightness();
|
int GetMaxBrightness();
|
||||||
|
|
||||||
void ResetParseID() { m_ParseID = 0; }
|
void ResetParseID() { m_ParseID = 0; }
|
||||||
|
static void lcd4linux(bool run);
|
||||||
private:
|
private:
|
||||||
std::thread *thrLCD4l;
|
std::thread *thrLCD4l;
|
||||||
static void* LCD4lProc(void *arg);
|
static void* LCD4lProc(void *arg);
|
||||||
|
Reference in New Issue
Block a user