From 04b2b7be846a838b192587c5b35b297f4e389933 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 13 Mar 2026 17:27:56 -0400 Subject: [PATCH] Update transmit.py only do PacSat txLED if not safe mode --- transmit.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/transmit.py b/transmit.py index a1ac0991..c431b015 100644 --- a/transmit.py +++ b/transmit.py @@ -556,15 +556,18 @@ if __name__ == "__main__": print("0") while (True): - sleep(0.1) - while (input(ptt) != 0): - sleep(0.2) - output(txLed, 1) - print("1") - while (input(ptt) != 1): - sleep(0.2) - output(txLed, 0) - print("0") + if (txc): + sleep(0.1) + while (input(ptt) != 0): + sleep(0.2) + output(txLed, 1) + print("1") + while (input(ptt) != 1): + sleep(0.2) + output(txLed, 0) + print("0") + else: + sleep(10) else: print("Transmit APRS Commands") system("sudo systemctl stop command")