aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-02 18:52:59 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-02 18:52:59 +0000
commit071089dadf70e673b4558dc77b85f596b750b4a5 (patch)
tree16e9233a57e84677f12420f0974ee5a8eba7ed21 /lib/python/Components
parent24a5d6d6864f603508dde23b1e27e4d9f221ebba (diff)
downloadenigma2-071089dadf70e673b4558dc77b85f596b750b4a5.tar.gz
enigma2-071089dadf70e673b4558dc77b85f596b750b4a5.zip
fix rfmod
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/RFmod.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/RFmod.py b/lib/python/Components/RFmod.py
index ff87a729..234ae4ca 100644
--- a/lib/python/Components/RFmod.py
+++ b/lib/python/Components/RFmod.py
@@ -10,7 +10,7 @@ class RFmod:
pass
def setFunction(self, value):
- eRFmod.getInstance().setFunction(value)
+ eRFmod.getInstance().setFunction(not value)
def setTestmode(self, value):
eRFmod.getInstance().setTestmode(value)
def setSoundFunction(self, value):
@@ -41,7 +41,7 @@ def InitRFmod():
def setSoundFunction(configElement):
iRFmod.setSoundFunction(configElement.value);
def setSoundCarrier(configElement):
- iRFmod.setSoundCarrier(int(configElement.value));
+ iRFmod.setSoundCarrier(configElement.index);
def setChannel(configElement):
iRFmod.setChannel(int(configElement.value));
def setFinetune(configElement):