X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/24a5d6d6864f603508dde23b1e27e4d9f221ebba..071089dadf70e673b4558dc77b85f596b750b4a5:/lib/python/Components/RFmod.py 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):