aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/frontend.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-19 19:59:05 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-19 19:59:05 +0000
commite128ab84e720068a36530a0dab1426f893697247 (patch)
tree1993c062b9d6510e8dbc8dcd0d850d7d6b830e18 /lib/dvb/frontend.cpp
parenteb6aa32e811a52a604ff00eb8e84932e3c86e598 (diff)
downloadenigma2-e128ab84e720068a36530a0dab1426f893697247.tar.gz
enigma2-e128ab84e720068a36530a0dab1426f893697247.zip
fix python part of ePythonConfig::getConfigQuery... so now default ac3 and 5V
on Terrestrial Tuner are working again
Diffstat (limited to 'lib/dvb/frontend.cpp')
-rw-r--r--lib/dvb/frontend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index cfd2610d..3905a187 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -1782,10 +1782,10 @@ RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where)
std::string enable_5V;
char configStr[255];
- snprintf(configStr, 255, "config.Nim%c.terrestrial_5V", 'A'+m_fe);
+ snprintf(configStr, 255, "config.Nims.%d.terrestrial_5V", m_fe);
m_sec_sequence.push_back( eSecCommand(eSecCommand::START_TUNE_TIMEOUT) );
ePythonConfigQuery::getConfigValue(configStr, enable_5V);
- if (enable_5V == "on")
+ if (enable_5V == "True")
m_sec_sequence.push_back( eSecCommand(eSecCommand::SET_VOLTAGE, iDVBFrontend::voltage13) );
else
m_sec_sequence.push_back( eSecCommand(eSecCommand::SET_VOLTAGE, iDVBFrontend::voltageOff) );