From 258424f04799ecea2d25d626ac028c553acaf5d8 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 10 Jun 2025 10:59:08 -0400 Subject: [PATCH] Update transmit.py CW ID if not APRS or Beacon off --- transmit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/transmit.py b/transmit.py index c8bde5a3..55d8cecb 100644 --- a/transmit.py +++ b/transmit.py @@ -385,7 +385,8 @@ if __name__ == "__main__": # if (mode != ) and (command_tx == True): # if (command_tx == True): ## if ((mode == 'a') or (mode == 'b') or (mode == 'f') or (mode == 's') or (mode == 'j')) and (command_tx == True) and (skip == False): - if (((mode == 'a') or (mode == 'b') or (mode == 'f') or (mode == 's') or (mode == 'j')) and (command_tx == True) and (skip == False)) or ((mode == 'e') and (command_tx == True)): +### if (((mode == 'a') or (mode == 'b') or (mode == 'f') or (mode == 's') or (mode == 'j')) and (command_tx == True) and (skip == False)) or ((mode == 'e') and (command_tx == True)): + if ((command_tx == True) and (mode != 'a')): # battery_saver_mode GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4 GPIO.setup(txLed, GPIO.OUT)