mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Sleep for a bit before checking if PTT is active
This commit is contained in:
parent
6552f59452
commit
e38fd63de7
|
@ -190,6 +190,8 @@ class DAEMON:
|
|||
# hamlib_version = rig.hamlib_version
|
||||
|
||||
hamlib.set_ptt(True)
|
||||
#Allow a little time for network based rig to register PTT is active
|
||||
time.sleep(.250);
|
||||
if hamlib.get_ptt():
|
||||
self.log.info("[DMN] Hamlib PTT", status="SUCCESS")
|
||||
response = {"command": "test_hamlib", "result": "SUCCESS"}
|
||||
|
|
Loading…
Reference in a new issue