- 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

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