lcd4linux: fix first start

Origin commit data
------------------
Commit: e4f3e6faaf
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-31 (Mon, 31 May 2021)

Origin message was:
------------------
- lcd4linux: fix first start
This commit is contained in:
vanhofen
2021-05-31 23:23:43 +02:00
parent 5b86359f58
commit 274415fac7
2 changed files with 6 additions and 5 deletions

View File

@@ -3128,11 +3128,11 @@ TIMER_START();
SHTDCNT::getInstance()->init();
#ifdef ENABLE_LCD4LINUX
if (g_settings.lcd4l_support) {
if (LCD4l == NULL)
LCD4l = new CLCD4l();
if (LCD4l == NULL)
LCD4l = new CLCD4l();
if (g_settings.lcd4l_support)
LCD4l->StartLCD4l();
}
#endif
CZapit::getInstance()->SetScanSDT(g_settings.enable_sdt);