mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
fix: if no sat, force no diseqc
This commit is contained in:
@@ -243,7 +243,10 @@ bool CFEManager::loadSettings()
|
||||
frontend_config_t & fe_config = fe->getConfig();
|
||||
INFO("load config for fe%d", fe->fenumber);
|
||||
|
||||
fe_config.diseqcType = (diseqc_t) getConfigValue(fe, "diseqcType", NO_DISEQC);
|
||||
if (fe->hasSat())
|
||||
fe_config.diseqcType = (diseqc_t) getConfigValue(fe, "diseqcType", NO_DISEQC);
|
||||
else
|
||||
fe_config.diseqcType = NO_DISEQC;
|
||||
fe_config.diseqcRepeats = getConfigValue(fe, "diseqcRepeats", 0);
|
||||
fe_config.motorRotationSpeed = getConfigValue(fe, "motorRotationSpeed", 18);
|
||||
fe_config.highVoltage = getConfigValue(fe, "highVoltage", 0);
|
||||
|
Reference in New Issue
Block a user