zapit/src/femanager.cpp: save/load fe diseqc order

Origin commit data
------------------
Commit: 2efc58cdf0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-24 (Thu, 24 Jan 2013)
This commit is contained in:
[CST] Focus
2013-01-24 13:44:48 +04:00
parent ea320aea9c
commit 91cf3aa48e

View File

@@ -223,6 +223,7 @@ bool CFEManager::loadSettings()
fe_config.highVoltage = getConfigValue(fe, "highVoltage", 0);
fe_config.uni_scr = getConfigValue(fe, "uni_scr", -1);
fe_config.uni_qrg = getConfigValue(fe, "uni_qrg", 0);
fe_config.diseqc_order = getConfigValue(fe, "diseqc_order", UNCOMMITED_FIRST);
fe->setRotorSatellitePosition(getConfigValue(fe, "lastSatellitePosition", 0));
@@ -303,6 +304,7 @@ void CFEManager::saveSettings(bool write)
setConfigValue(fe, "highVoltage", fe_config.highVoltage);
setConfigValue(fe, "uni_scr", fe_config.uni_scr);
setConfigValue(fe, "uni_qrg", fe_config.uni_qrg);
setConfigValue(fe, "diseqc_order", fe_config.diseqc_order);
setConfigValue(fe, "lastSatellitePosition", fe->getRotorSatellitePosition());
setConfigValue(fe, "mode", fe->getMode());
setConfigValue(fe, "master", fe->getMaster());