added rpitx restart

pull/93/head
alanbjohnston 5 years ago committed by GitHub
parent 4054359f6c
commit 27875e5bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -220,6 +220,9 @@ int main(int argc, char * argv[]) {
}
}
FILE * rpitx_restart = popen("sudo systemctl restart rpitx", "r");
fclose(rpitx_restart);
// Open configuration file with callsign and reset count
FILE * config_file = fopen("/home/pi/CubeSatSim/sim.cfg", "r");
if (config_file == NULL) {

Loading…
Cancel
Save

Powered by TurnKey Linux.