Update main.c don't restart rpitx

pull/278/head
Alan Johnston 2 years ago committed by GitHub
parent ff787c1658
commit 43ec669276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,8 +49,8 @@ int main(int argc, char * argv[]) {
program_radio(); program_radio();
FILE * rpitx_stop = popen("sudo systemctl stop rpitx", "r"); //FILE * rpitx_stop = popen("sudo systemctl stop rpitx", "r");
pclose(rpitx_stop); //pclose(rpitx_stop);
FILE * file_deletes = popen("sudo rm /home/pi/CubeSatSim/ready /home/pi/CubeSatSim/cwready > /dev/null", "r"); FILE * file_deletes = popen("sudo rm /home/pi/CubeSatSim/ready /home/pi/CubeSatSim/cwready > /dev/null", "r");
pclose(file_deletes); pclose(file_deletes);
@ -70,8 +70,8 @@ int main(int argc, char * argv[]) {
Serial.println("HAB mode enabled - balloon icon and BAT only telem and no low voltage shutdown"); Serial.println("HAB mode enabled - balloon icon and BAT only telem and no low voltage shutdown");
#endif #endif
FILE * rpitx_restart = popen("sudo systemctl restart rpitx", "r"); //FILE * rpitx_restart = popen("sudo systemctl restart rpitx", "r");
pclose(rpitx_restart); //pclose(rpitx_restart);
mode = FSK; mode = FSK;
frameCnt = 1; frameCnt = 1;

Loading…
Cancel
Save

Powered by TurnKey Linux.