Skip to content

Commit

Permalink
In the previous commit I forgot to adapt something for autoDiSEqC
Browse files Browse the repository at this point in the history
I added a new config for rotating polarisation LNBs that can only be
used in single mode. When the autoDiSEqC was called I forgot in single
mode to adapt to the single mode order options config
  • Loading branch information
Littlesat committed Oct 30, 2024
1 parent 8dbaa09 commit 60a3b0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/python/Screens/Satconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ def run(self):

def autoDiseqcRun(self, ports):
self.stopService()
self.session.openWithCallback(self.autoDiseqcCallback, AutoDiseqc, self.slotid, ports, self.nimConfig.simpleDiSEqCSetVoltageTone, self.nimConfig.simpleDiSEqCOnlyOnSatChange, self.nimConfig.autoDiSEqC_order.value)
order = self.nimConfig.autoDiSEqC_order_single.value if self.nimConfig.diseqcMode.value == "single" else self.nimConfig.autoDiSEqC_order.value
self.session.openWithCallback(self.autoDiseqcCallback, AutoDiseqc, self.slotid, ports, self.nimConfig.simpleDiSEqCSetVoltageTone, self.nimConfig.simpleDiSEqCOnlyOnSatChange, order)

def autoDiseqcCallback(self, result):
from Screens.Wizard import Wizard
Expand Down

0 comments on commit 60a3b0e

Please sign in to comment.