diff --git a/dtmf_aprs_cc.py b/dtmf_aprs_cc.py index ef5c589c..a77a65b0 100644 --- a/dtmf_aprs_cc.py +++ b/dtmf_aprs_cc.py @@ -56,10 +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 stop rpitx") - system("echo 'Resuming rpitx'") - system("sudo python3 -u /home/pi/CubeSatSim/rpitx.py s & > /dev/null 2>&1") + system("echo 'Restarting rpitx'") + system("sudo systemctl restart rpitx") +# system("echo 'Resuming rpitx'") +# 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)