Update transmit.py program fm out of bands to default

master-bf-pre
Alan Johnston 2 days ago committed by GitHub
parent 573eb5b53b
commit 5e385b850b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -226,7 +226,15 @@ def program_fm(rx, tx, rxpl_value, sq, txpl_value):
if (gpsd_status == "active"): if (gpsd_status == "active"):
print("Stopping gpsd.socket") print("Stopping gpsd.socket")
system("sudo systemctl stop gpsd.socket") system("sudo systemctl stop gpsd.socket")
print("Programming FM module!\n"); print("Programming FM module!\n");
txf = float(tx)
rxf = float(rx)
if (txf > 450.0) or (txf < 420.0):
tx = "434.9000"
print("Transmit frequency out of FM bounds")
if (rxf > 450.0) or (rxf < 420.0):
rx = "435.0000"
print("Receive frequency out of FM bounds")
output(pd, 1) output(pd, 1)
output (ptt, 1) output (ptt, 1)
try: try:

Loading…
Cancel
Save

Powered by TurnKey Linux.