mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
zapit/src/frontend.cpp: comment getInstance, currentFe
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6acb222311
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-25 (Wed, 25 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -100,7 +100,7 @@ class CFrontend
|
||||
/* current adapter where this frontend is on */
|
||||
int adapter;
|
||||
/* current frontend instance */
|
||||
static CFrontend *currentFe;
|
||||
//static CFrontend *currentFe;
|
||||
bool locked;
|
||||
/* tuning finished flag */
|
||||
bool tuned;
|
||||
@@ -159,7 +159,7 @@ class CFrontend
|
||||
/* Private constructor */
|
||||
CFrontend(int Number = 0, int Adapter = 0);
|
||||
|
||||
static CFrontend *getInstance(int Number = 0, int Adapter = 0);
|
||||
//static CFrontend *getInstance(int Number = 0, int Adapter = 0);
|
||||
friend class CFEManager;
|
||||
public:
|
||||
~CFrontend(void);
|
||||
|
@@ -137,6 +137,7 @@ typedef enum dvb_fec {
|
||||
#define TIME_STEP 200
|
||||
#define TIMEOUT_MAX_MS (feTimeout*100)
|
||||
/*********************************************************************************************************/
|
||||
#if 0
|
||||
// Global fe instance
|
||||
CFrontend *CFrontend::currentFe = NULL;
|
||||
|
||||
@@ -148,7 +149,7 @@ CFrontend *CFrontend::getInstance(int Number, int Adapter)
|
||||
}
|
||||
return currentFe;
|
||||
}
|
||||
|
||||
#endif
|
||||
CFrontend::CFrontend(int Number, int Adapter)
|
||||
{
|
||||
printf("[fe%d] New frontend on adapter %d\n", Number, Adapter);
|
||||
@@ -239,6 +240,8 @@ void CFrontend::Close(void)
|
||||
if(standby)
|
||||
return;
|
||||
|
||||
printf("[fe%d] close frontend\n", fenumber);
|
||||
|
||||
if (!slave && config.diseqcType > MINI_DISEQC)
|
||||
sendDiseqcStandby();
|
||||
|
||||
|
Reference in New Issue
Block a user