mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
zapit/src/femanager.cpp: set all cable tuner default mode to independent
Origin commit data
------------------
Branch: ni/coolstream
Commit: b52d36ff54
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-30 (Wed, 30 Oct 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -226,7 +226,7 @@ bool CFEManager::loadSettings()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool fsat = true;
|
bool fsat = true;
|
||||||
bool fcable = true;
|
//bool fcable = true;
|
||||||
for(fe_map_iterator_t it = femap.begin(); it != femap.end(); it++) {
|
for(fe_map_iterator_t it = femap.begin(); it != femap.end(); it++) {
|
||||||
CFrontend * fe = it->second;
|
CFrontend * fe = it->second;
|
||||||
frontend_config_t & fe_config = fe->getConfig();
|
frontend_config_t & fe_config = fe->getConfig();
|
||||||
@@ -250,12 +250,15 @@ bool CFEManager::loadSettings()
|
|||||||
def_mode = def_mode0;
|
def_mode = def_mode0;
|
||||||
}
|
}
|
||||||
if (fe->isCable()) {
|
if (fe->isCable()) {
|
||||||
|
#if 0
|
||||||
if (fcable) {
|
if (fcable) {
|
||||||
fcable = false;
|
fcable = false;
|
||||||
def_mode = def_mode0;
|
def_mode = def_mode0;
|
||||||
}
|
}
|
||||||
if (def_mode > CFrontend::FE_MODE_INDEPENDENT)
|
if (def_mode > CFrontend::FE_MODE_INDEPENDENT)
|
||||||
def_mode = CFrontend::FE_MODE_INDEPENDENT;
|
def_mode = CFrontend::FE_MODE_INDEPENDENT;
|
||||||
|
#endif
|
||||||
|
def_mode = CFrontend::FE_MODE_INDEPENDENT;
|
||||||
}
|
}
|
||||||
if (femap.size() == 1)
|
if (femap.size() == 1)
|
||||||
def_mode = CFrontend::FE_MODE_INDEPENDENT;
|
def_mode = CFrontend::FE_MODE_INDEPENDENT;
|
||||||
|
Reference in New Issue
Block a user