make lcd4linux configurable

Origin commit data
------------------
Commit: 8a4e6c2281
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-02-01 (Mon, 01 Feb 2021)

Origin message was:
------------------
- make lcd4linux configurable
This commit is contained in:
vanhofen
2021-02-01 00:20:35 +01:00
parent 0046a06d42
commit 167ea7a2f6
13 changed files with 86 additions and 9 deletions

View File

@@ -71,8 +71,10 @@
#include <hardware/video.h>
#ifdef ENABLE_LCD4LINUX
#include "driver/lcd4l.h"
extern CLCD4l *LCD4l;
#endif
extern CRemoteControl * g_RemoteControl;
@@ -1649,10 +1651,12 @@ bool COsdSetup::changeNotify(const neutrino_locale_t OptionName, void * data)
g_settings.show_ecm = 1;
}
#ifdef ENABLE_LCD4LINUX
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_CHANNELLIST_SHOW_EVENTLOGO))
{
LCD4l->ResetParseID();
}
#endif
else if ((ARE_LOCALES_EQUAL(OptionName, LOCALE_MISCSETTINGS_INFOCLOCK)) ||
(ARE_LOCALES_EQUAL(OptionName, LOCALE_CLOCK_SIZE_HEIGHT)) ||
(ARE_LOCALES_EQUAL(OptionName, LOCALE_CLOCK_SECONDS))) {