Update transmit.py fix tabs

master-b3
Alan Johnston 1 month ago committed by GitHub
parent 4362a6e80d
commit 64477a0e2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -439,7 +439,7 @@ def update_doppler(fm="yes"):
##### write true freq here ######
print("writing actual tx and rx frequency to frequency.txt")
with open("/home/pi/CubeSatSim/frequency.txt", "w") as file:
file.write(f"{new_tx_frequency:.0f} {new_rx_frequency:.0f}")
file.write(f"{new_tx_frequency:.0f} {new_rx_frequency:.0f}")
if (tx_doppler_freq_hz != new_tx_frequency) or (rx_doppler_freq_hz != new_rx_frequency):
tx_doppler_freq_hz = new_tx_frequency

Loading…
Cancel
Save

Powered by TurnKey Linux.