15 msec delay between disable tone and send diseqc
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 26 Dec 2006 16:14:50 +0000 (16:14 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 26 Dec 2006 16:14:50 +0000 (16:14 +0000)
lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py

index 096395597550ef72e390dd2c8d946f1f0623b1b8..0b5d5daeed5a4f7bda3afab224b663f0f8973a55 100644 (file)
@@ -374,6 +374,7 @@ class Diseqc:
                        print string
                        cmd.setCommandString(string)
                        self.frontend.setTone(iDVBFrontend.toneOff)
                        print string
                        cmd.setCommandString(string)
                        self.frontend.setTone(iDVBFrontend.toneOff)
+                       sleep(0.015) # wait 15msec after disable tone
                        self.frontend.sendDiseqc(cmd)
                        if string == 'e03160': #positioner stop
                                sleep(0.05)
                        self.frontend.sendDiseqc(cmd)
                        if string == 'e03160': #positioner stop
                                sleep(0.05)