delete ready and cwready at start in case there is a problem with these files

pull/132/head
alanbjohnston 5 years ago committed by GitHub
parent 300bd8560c
commit c58543c7b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,10 @@
int main(int argc, char * argv[]) {
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");
pclose(file_deletes);
printf("Test bus 1\n");
fflush(stdout);

Loading…
Cancel
Save

Powered by TurnKey Linux.