From cc5ff2541c012f657143448c7a81c12e69920ebc Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 25 Jul 2024 11:17:48 -0400 Subject: [PATCH] Update rpitx.py fix sstv GPIO --- rpitx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpitx.py b/rpitx.py index 39659d6b..27c8e617 100644 --- a/rpitx.py +++ b/rpitx.py @@ -624,9 +624,9 @@ if __name__ == "__main__": if (command_tx == True): print ("Sending SSTV image") - output(txLed, txLedOn) GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4 GPIO.setup(txLed, GPIO.OUT) + output(txLed, txLedOn) # battery_saver_check() if (txc): @@ -727,9 +727,9 @@ if __name__ == "__main__": if (command_tx == True): # command_control_check() - output(txLed, txLedOn) GPIO.setmode(GPIO.BCM) # added to make Tx LED work on Pi Zero 2 and Pi 4 GPIO.setup(txLed, GPIO.OUT) + output(txLed, txLedOn) # battery_saver_check()