Sleep for a bit before checking if PTT is active

This commit is contained in:
Mashintime 2023-02-12 16:42:23 -05:00
parent 6552f59452
commit e38fd63de7

View file

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