Update transmit.py fix new frequency print

master-bf-pre3
Alan Johnston 6 days ago committed by GitHub
parent 6e59358133
commit 3cd280dacd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -530,7 +530,7 @@ def update_doppler(fm="yes"):
new_tx_frequency = int(frequencies[0]) new_tx_frequency = int(frequencies[0])
new_rx_frequency = int(frequencies[1]) new_rx_frequency = int(frequencies[1])
print(f"New frequencies: {new_tx_frequency}, Second number: {new_tx_frequency}") print(f"New frequencies: {new_tx_frequency}, Second number: {new_rx_frequency}")
if (tx_doppler_freq_hz != new_tx_frequency) or (rx_doppler_freq_hz != new_rx_frequency): if (tx_doppler_freq_hz != new_tx_frequency) or (rx_doppler_freq_hz != new_rx_frequency):
tx_doppler_freq_hz = new_tx_frequency tx_doppler_freq_hz = new_tx_frequency

Loading…
Cancel
Save

Powered by TurnKey Linux.