From a3ae07b221abe291ee0e32d10141c188a2e494b3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 16 Jul 2024 15:41:47 -0400 Subject: [PATCH] Update dtmf_aprs_cc.py resume rpitx --- dtmf_aprs_cc.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dtmf_aprs_cc.py b/dtmf_aprs_cc.py index 63c0b577..c2383e2a 100644 --- a/dtmf_aprs_cc.py +++ b/dtmf_aprs_cc.py @@ -56,8 +56,10 @@ if __name__ == "__main__": system("echo 'Beacon is on, turning it OFF'") system("touch /home/pi/CubeSatSim/beacon_off") - system("echo 'Restarting rpitx'") - system("sudo systemctl restart rpitx") +# system("echo 'Restarting rpitx'") +# system("sudo systemctl restart rpitx") + system("echo 'Resuming rpitx'") + system("python3 -u /home/pi/CubeSatSim/rpitx.py s") change_mode = False if (debug_mode == False) and (change_mode == True): GPIO.setmode(GPIO.BCM)