1
0
Fork 0

Adjust absolute path; need to fix later

pull/2/head
Cees Bassa 2014-09-17 16:41:49 +02:00
parent b895977be2
commit 7a7bdf5d24
1 changed files with 2 additions and 2 deletions

View File

@ -129,14 +129,14 @@ void send_position(char *sra,char *sde)
close(skt);
// Set restart
file=fopen("/media/storage/satobs/control/state.txt","w");
file=fopen("/data/satobs/control/state.txt","w");
if (file!=NULL) {
fprintf(file,"restart");
fclose(file);
}
// Set position
file=fopen("/media/storage/satobs/control/position.txt","w");
file=fopen("/data/satobs/control/position.txt","w");
if (file!=NULL) {
fprintf(file,"%s %s\n",sra,sde);
fclose(file);