From 4f65e60711243303c51107bcc799b085ec55f5f2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 16 Jul 2024 15:44:53 -0400 Subject: [PATCH] Update dtmf_aprs_cc.py background --- dtmf_aprs_cc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtmf_aprs_cc.py b/dtmf_aprs_cc.py index c2383e2a..ef5c589c 100644 --- a/dtmf_aprs_cc.py +++ b/dtmf_aprs_cc.py @@ -57,9 +57,9 @@ if __name__ == "__main__": system("touch /home/pi/CubeSatSim/beacon_off") # system("echo 'Restarting rpitx'") -# system("sudo systemctl restart rpitx") + system("sudo systemctl stop rpitx") system("echo 'Resuming rpitx'") - system("python3 -u /home/pi/CubeSatSim/rpitx.py s") + system("sudo python3 -u /home/pi/CubeSatSim/rpitx.py s & > /dev/null 2>&1") change_mode = False if (debug_mode == False) and (change_mode == True): GPIO.setmode(GPIO.BCM)