mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
Revert "- lcd4l: add camd info"
This reverts commit2799c259fb
Origin commit data ------------------ Branch: ni/coolstream Commit:09545cefc2
Author: vanhofen <vanhofen@gmx.de> Date: 2021-07-17 (Sat, 17 Jul 2021) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -83,7 +83,6 @@ extern CPictureViewer *g_PicViewer;
|
||||
#define MODE_TSHIFT LCD_DATADIR "mode_tshift"
|
||||
#define MODE_TIMER LCD_DATADIR "mode_timer"
|
||||
#define MODE_ECM LCD_DATADIR "mode_ecm"
|
||||
#define MODE_CAMD LCD_DATADIR "mode_camd"
|
||||
#define MODE_CAM LCD_DATADIR "mode_cam"
|
||||
|
||||
#define SERVICE LCD_DATADIR "service"
|
||||
@@ -275,7 +274,6 @@ void CLCD4l::Init()
|
||||
m_ModeTshift = -1;
|
||||
m_ModeTimer = -1;
|
||||
m_ModeEcm = -1;
|
||||
m_ModeCamd = "n/a";
|
||||
m_ModeCamPresent = false;
|
||||
m_ModeCam = -1;
|
||||
|
||||
@@ -643,29 +641,6 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
||||
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
#if 0
|
||||
std::string ModeCamd = "";
|
||||
|
||||
const char *camd[] = {"mgcamd","doscam","ncam","osmod","oscam","cccam","gbox"};
|
||||
|
||||
for (int i=0; i < (int)(sizeof(camd)/sizeof(camd[0])); i++)
|
||||
{
|
||||
if (getpidof(camd[i]))
|
||||
{
|
||||
ModeCamd += camd[i];
|
||||
ModeCamd += "\n";
|
||||
}
|
||||
}
|
||||
|
||||
if (m_ModeCamd != ModeCamd)
|
||||
{
|
||||
WriteFile(MODE_CAMD, ModeCamd.empty() ? "off" : ModeCamd);
|
||||
m_ModeCamd = ModeCamd;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
if (firstRun) //FIXME; what if module is added/removed while lcd4l is running?
|
||||
{
|
||||
for (unsigned int i = 0; i < cCA::GetInstance()->GetNumberCISlots(); i++)
|
||||
|
@@ -116,7 +116,6 @@ class CLCD4l
|
||||
int m_ModeTshift;
|
||||
int m_ModeTimer;
|
||||
int m_ModeEcm;
|
||||
std::string m_ModeCamd;
|
||||
bool m_ModeCamPresent;
|
||||
int m_ModeCam;
|
||||
|
||||
|
Reference in New Issue
Block a user