Attempt to fix ctest errors

This commit is contained in:
Mashintime 2023-01-22 23:42:35 -05:00
parent ad129bd11a
commit fc60094606
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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"""