Update frequency.py remove repeater frequency changes

master-bh
Alan Johnston 2 months ago committed by GitHub
parent d0cf959932
commit c7f117d873
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -730,12 +730,13 @@ try:
if len(config) > 6:
txf = float(config[6])
tx = "{:.4f}".format(txf)
if (mode == 'e'):
txrf = (txf - 290.0) # - 0.1 # Cross Band Repeater mode transmit frequency in 2m band
txr = "{:.4f}".format(txrf)
print("Transmit frequency: ",txr)
else:
print("Transmit frequency: ",tx)
# if (mode == 'e'):
# txrf = (txf - 290.0) # - 0.1 # Cross Band Repeater mode transmit frequency in 2m band
# txr = "{:.4f}".format(txrf)
# print("Transmit frequency: ",txr)
# else:
# print("Transmit frequency: ",tx)
print("Transmit frequency: ",tx)
if len(config) > 7:
rxf = float(config[7])
rx = "{:.4f}".format(rxf)
@ -797,10 +798,11 @@ if (doppler_mode == 'off'):
if (doppler_mode == 'sim'):
print("Sim mode")
if (mode == 'e'):
tx_doppler_start_hz = txrf * 1e6
else:
tx_doppler_start_hz = txf * 1e6
# if (mode == 'e'):
# tx_doppler_start_hz = txrf * 1e6
# else:
# tx_doppler_start_hz = txf * 1e6
tx_doppler_start_hz = txf * 1e6
tx_doppler_shift_hz = 0
print(f"Tx center frequency: {tx_doppler_start_hz}")
rx_doppler_start_hz = rxf * 1e6

Loading…
Cancel
Save

Powered by TurnKey Linux.