From 76793a7b710f227a219d50c23e3fc9917b0cf551 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 3 Mar 2024 22:27:56 -0500 Subject: [PATCH] Update rpitx.py remove chan++ and ch --- rpitx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpitx.py b/rpitx.py index b46c4e46..3b6d7617 100644 --- a/rpitx.py +++ b/rpitx.py @@ -482,12 +482,12 @@ if __name__ == "__main__": f = open("/home/pi/CubeSatSim/cwready") f.close() system("sudo rm /home/pi/CubeSatSim/cwready") - ch = 1 +## ch = 1 for chan in range(7): command = "gen_packets -M 20 -o /home/pi/CubeSatSim/morse.wav /home/pi/CubeSatSim/cw" + str(chan) + ".txt -r 48000 > /dev/null 2>&1" print(command) system(command) - chan = chan + 1 +## chan = chan + 1 if (command_tx == True): output(txLed, txLedOn) output (pd, 1)