From 400b7619429d922ff850c651ec71c885075d7443 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 18 Jun 2026 23:38:45 -0400 Subject: [PATCH] Update transmit.py fix txrf --- transmit.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index e8be0128..69f4a361 100644 --- a/transmit.py +++ b/transmit.py @@ -805,7 +805,10 @@ if __name__ == "__main__": program_fm(rx,tx,rxpl_value,sq,txpl_value) if (doppler_mode == True): - tx_doppler_start_hz = txrf * 1e6 + if (mode == 'e'): + tx_doppler_start_hz = txrf * 1e6 + else: + 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