Update transmit.py fix zero squelch for pacsat

pull/405/head
Alan Johnston 1 year ago committed by GitHub
parent 5e42437bbf
commit 53515b0839
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -274,7 +274,7 @@ if __name__ == "__main__":
tx_value = '0' tx_value = '0'
rx_value = '0' rx_value = '0'
sq = '0' '0'
tx = '434.9000' tx = '434.9000'
rx = '435.0000' rx = '435.0000'
@ -284,10 +284,9 @@ if __name__ == "__main__":
config = file.readline().split() config = file.readline().split()
callsign = config[0] callsign = config[0]
if len(config) > 5: if len(config) > 5:
sq = config[5] if (mode != 'p') and (mode != 'P'): # squelch off for Pacsat
if (mode == 'p') or (mode == 'P'): sq = config[5]
sq = 0 # turn off squelch for Pacsat print(f'squelch: {sq}')
print(sq)
if len(config) > 6: if len(config) > 6:
txf = float(config[6]) txf = float(config[6])
# print(txf) # print(txf)

Loading…
Cancel
Save

Powered by TurnKey Linux.