From 2613f2902dbd309d242794b9c751d250bc9e9bd4 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 22 Jul 2026 11:40:08 -0400 Subject: [PATCH] Update transmit.py repeater mode, only shift by 290 if in 70cm --- transmit.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index d2269332..e79a6e37 100644 --- a/transmit.py +++ b/transmit.py @@ -715,7 +715,12 @@ if __name__ == "__main__": 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 + if (txf > 420.0) and (txf < 450.0): + txrf = (txf - 290.0) # - 0.1 # Cross Band Repeater mode transmit frequency in 2m band + elif (txf > 144.0) and (txf < 148.0): + txrf = (txf - 290.0) # - 0.1 # Cross Band Repeater mode transmit frequency in 2m band + else: + txf = 144.9 txr = "{:.4f}".format(txrf) print("Transmit frequency: ",txr) else: