From 071089dadf70e673b4558dc77b85f596b750b4a5 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 2 Nov 2006 18:52:59 +0000 Subject: fix rfmod --- lib/python/Components/RFmod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python/Components') 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): -- cgit v1.2.3