mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Attempt to fix ctest errors
This commit is contained in:
parent
ad129bd11a
commit
fc60094606
|
@ -373,7 +373,7 @@ class DAEMON:
|
|||
rigctld_ip=rigctld_ip,
|
||||
rigctld_port=rigctld_port,
|
||||
)
|
||||
hamlib.set_tx_delay(static.TX_DELAY)
|
||||
hamlib.set_tx_delay(self,static.TX_DELAY)
|
||||
# hamlib_version = rig.hamlib_version
|
||||
|
||||
hamlib.set_ptt(True)
|
||||
|
|
|
@ -16,7 +16,7 @@ tx_delay = 50
|
|||
|
||||
class radio:
|
||||
"""rigctld (hamlib) communication class"""
|
||||
|
||||
|
||||
log = structlog.get_logger("radio (rigctld)")
|
||||
|
||||
def __init__(self, hostname="localhost", port=4532, poll_rate=5, timeout=5):
|
||||
|
@ -90,8 +90,8 @@ class radio:
|
|||
return False
|
||||
|
||||
def set_tx_delay(self,ms):
|
||||
self.tx_delay=ms
|
||||
self.log.debug("Set tx delay to (ms) " + str(ms))
|
||||
tx_delay=ms
|
||||
self.log.debug("Set tx delay to (ms) " + str(tx_delay))
|
||||
|
||||
def ptt_connect(self):
|
||||
"""Connect to rigctld instance"""
|
||||
|
|
Loading…
Reference in a new issue