From 8cb05a5c121d0a960b6a441cfc6cfa69e4fb4bd3 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Thu, 2 Jan 2025 14:32:58 -0500 Subject: [PATCH] Clearing tune settings when rig started. --- owrx/rigcontrol.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/owrx/rigcontrol.py b/owrx/rigcontrol.py index 44513e00..8a051635 100644 --- a/owrx/rigcontrol.py +++ b/owrx/rigcontrol.py @@ -398,6 +398,10 @@ class RigControl(): # Create and start thread self.thread = threading.Thread(target=self._rigThread) self.thread.start() + # Clear current frequency and modulation + self.mod = None + self.fCenter = None + self.fOffset = None # Done logger.debug("Started RigControl as '{0}'.".format(" ".join(cmd))) return True