lcd4l: add and use wrapper functions to handle /tmp/lcd/menu

Origin commit data
------------------
Branch: ni/coolstream
Commit: e2cf2d835a
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-18 (Sat, 18 Sep 2021)

Origin message was:
------------------
- lcd4l: add and use wrapper functions to handle /tmp/lcd/menu

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-09-18 21:52:01 +02:00
parent 6459313cb9
commit 0c7df3fa96
6 changed files with 26 additions and 11 deletions

View File

@@ -979,7 +979,7 @@ int CChannelList::show()
cGLCD::unlockChannel();
#endif
#ifdef ENABLE_LCD4LINUX
CLCD4l::getInstance()->RemoveFile("/tmp/lcd/menu");
CLCD4l::getInstance()->RemoveMenuFile();
#endif
if(!dont_hide){
@@ -2267,7 +2267,7 @@ void CChannelList::updateVfd()
#endif
#ifdef ENABLE_LCD4LINUX
if (g_settings.lcd4l_support)
CLCD4l::getInstance()->CreateFile("/tmp/lcd/menu", chan->getName().c_str(), g_settings.lcd4l_convert);
CLCD4l::getInstance()->CreateMenuFile(chan->getName().c_str(), g_settings.lcd4l_convert);
#endif
}