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