Update main.c

pull/54/head
alanbjohnston 5 years ago committed by GitHub
parent 1bcf93e5ee
commit 2c5594ca1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1055,7 +1055,7 @@ if (firstTime != ON)
char *token; char *token;
char cmdbuffer[1000]; char cmdbuffer[1000];
while (1) { // while (1) {
FILE *file = popen("python3 /home/pi/CubeSatSim/python/voltcurrent.py 1 11", "r"); FILE *file = popen("python3 /home/pi/CubeSatSim/python/voltcurrent.py 1 11", "r");
fgets(cmdbuffer, 1000, file); fgets(cmdbuffer, 1000, file);
// printf("result: %s\n", cmdbuffer); // printf("result: %s\n", cmdbuffer);
@ -1072,7 +1072,7 @@ if (firstTime != ON)
} }
printf("\n"); printf("\n");
} // }
int count; int count;

Loading…
Cancel
Save

Powered by TurnKey Linux.