From d7e367d0ec89af8f008498bbf39f910a068da2a2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 18 Aug 2023 17:31:07 -0400 Subject: [PATCH] Update rpitx.py moved delete of cwready --- rpitx.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rpitx.py b/rpitx.py index a458b85e..5c36241d 100644 --- a/rpitx.py +++ b/rpitx.py @@ -421,7 +421,8 @@ if __name__ == "__main__": try: f = open("/home/pi/CubeSatSim/cwready") system("gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw.txt -r 48000 > /dev/null 2>&1") - + system("sudo rm /home/pi/CubeSatSim/cwready") + if (command_tx == True): output(txLed, txLedOn) output (ptt, 0) @@ -440,7 +441,7 @@ if __name__ == "__main__": output (ptt, 1) f.close() - system("sudo rm /home/pi/CubeSatSim/cwready") +# system("sudo rm /home/pi/CubeSatSim/cwready") sleep(5) except: sleep(1)