Update transmit.py restart gpsd.socket twice

pull/444/head
Alan Johnston 1 month ago committed by GitHub
parent 72e7b9226a
commit c9976ef99a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -294,6 +294,8 @@ def program_fm(rx, tx, rxpl_value, sq, txpl_value):
if (gpsd_status == "active"):
print("Restarting gpsd.socket")
system("sudo systemctl restart gpsd.socket")
sleep(2)
system("sudo systemctl restart gpsd.socket")
except Exception as e:
print(f"An error occurred: {e}")
print("program_fm failed")

Loading…
Cancel
Save

Powered by TurnKey Linux.