zapit/src/femanager.cpp: set all cable tuner default mode to independent

This commit is contained in:
[CST] Focus
2013-10-30 18:53:04 +04:00
parent 74ba3ca979
commit b52d36ff54

View File

@@ -226,7 +226,7 @@ bool CFEManager::loadSettings()
}
}
bool fsat = true;
bool fcable = true;
//bool fcable = true;
for(fe_map_iterator_t it = femap.begin(); it != femap.end(); it++) {
CFrontend * fe = it->second;
frontend_config_t & fe_config = fe->getConfig();
@@ -250,12 +250,15 @@ bool CFEManager::loadSettings()
def_mode = def_mode0;
}
if (fe->isCable()) {
#if 0
if (fcable) {
fcable = false;
def_mode = def_mode0;
}
if (def_mode > CFrontend::FE_MODE_INDEPENDENT)
def_mode = CFrontend::FE_MODE_INDEPENDENT;
#endif
def_mode = CFrontend::FE_MODE_INDEPENDENT;
}
if (femap.size() == 1)
def_mode = CFrontend::FE_MODE_INDEPENDENT;