aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
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):