make lcd4linux configurable

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

Origin message was:
------------------
- make lcd4linux configurable

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-02-01 00:20:35 +01:00
parent a156556073
commit 60bc703799
13 changed files with 86 additions and 9 deletions

View File

@@ -86,8 +86,10 @@
#include <eitd/sectionsd.h>
#ifdef ENABLE_LCD4LINUX
#include "driver/lcd4l.h"
extern CLCD4l *LCD4l;
#endif
extern CBouquetList * bouquetList; /* neutrino.cpp */
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
@@ -971,7 +973,9 @@ int CChannelList::show()
#ifdef ENABLE_GRAPHLCD
cGLCD::unlockChannel();
#endif
#ifdef ENABLE_LCD4LINUX
LCD4l->RemoveFile("/tmp/lcd/menu");
#endif
if(!dont_hide){
if (new_zap_mode && (g_settings.channellist_new_zap_mode != new_zap_mode))
@@ -2256,8 +2260,10 @@ void CChannelList::updateVfd()
if(g_settings.glcd_enable)
cGLCD::lockChannel(g_Locale->getText(LOCALE_BOUQUETLIST_HEAD), chan->getName().c_str(), 0);
#endif
#ifdef ENABLE_LCD4LINUX
if (g_settings.lcd4l_support)
LCD4l->CreateFile("/tmp/lcd/menu", chan->getName().c_str(), g_settings.lcd4l_convert);
#endif
}
void CChannelList::paint()