Update main.c change to start/stop pacsatsim

pacsat-v2.2-tlm3
Alan Johnston 4 weeks ago committed by GitHub
parent f68ac49095
commit 18ebea9d55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -247,11 +247,11 @@ int main(int argc, char * argv[]) {
}
if ( mode == PACSAT) {
FILE * pacsat_file = popen("sudo systemctl start cubesatsim", "r");
FILE * pacsat_file = popen("sudo systemctl start pacsatsim", "r");
pclose(pacsat_file);
}
else {
FILE * pacsat_file = popen("sudo systemctl stop cubesatsim", "r");
FILE * pacsat_file = popen("sudo systemctl stop pacsatsim", "r");
pclose(pacsat_file);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.