lcd4l: introduce getInstance()

Origin commit data
------------------
Branch: ni/coolstream
Commit: a1bb64a4d2
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-13 (Sun, 13 Jun 2021)

Origin message was:
------------------
- lcd4l: introduce getInstance()

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-06-13 23:28:24 +02:00
parent 0862617cc5
commit 50a19c69d7
9 changed files with 28 additions and 34 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()