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

@@ -46,7 +46,6 @@
#ifdef ENABLE_LCD4LINUX
#include "driver/lcd4l.h"
extern CLCD4l *LCD4l;
#endif
CFlashTool::CFlashTool()
@@ -353,7 +352,7 @@ void CFlashTool::stopDaemons()
{
#ifdef ENABLE_LCD4LINUX
if (g_settings.lcd4l_support)
LCD4l->StopLCD4l();
CLCD4l::getInstance()->StopLCD4l();
#endif
CNeutrinoApp::getInstance()->stopDaemonsForFlash();