- lcd4l: introduce getInstance()

Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-06-13 23:28:24 +02:00
committed by Thilo Graf
parent 71d50060a5
commit 4592cbc239
9 changed files with 29 additions and 39 deletions

View File

@@ -131,6 +131,14 @@ CLCD4l::~CLCD4l()
thrLCD4l = NULL;
}
CLCD4l *CLCD4l::getInstance()
{
static CLCD4l *me = NULL;
if (!me)
me = new CLCD4l();
return me;
}
/* ----------------------------------------------------------------- */
void CLCD4l::InitLCD4l()