diff --git a/transmit.py b/transmit.py index d266b058..fa9e7a1b 100644 --- a/transmit.py +++ b/transmit.py @@ -437,8 +437,8 @@ def update_doppler(fm="yes"): new_rx_frequency = rx_frequency ##### write true freq here ###### - print("writing actual tx and rx frequency to frequency.txt") - with open("/home/pi/CubeSatSim/frequency.txt", "w") as file: + 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}") if (tx_doppler_freq_hz != new_tx_frequency) or (rx_doppler_freq_hz != new_rx_frequency):