fixed APRS mode python read

pull/78/head
alanbjohnston 5 years ago committed by GitHub
parent a27383dd61
commit 9c8b60fa5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -694,10 +694,11 @@ void get_tlm(void) {
char * token;
// char cmdbuffer[1000];
FILE * file = popen(pythonStr, "r");
// FILE * file = popen(pythonStr, "r");
fputc('\n', file1);
fgets(cmdbuffer, 1000, file);
// printf("result: %s\n", cmdbuffer);
pclose(file);
// pclose(file);
const char space[2] = " ";
token = strtok(cmdbuffer, space);

Loading…
Cancel
Save

Powered by TurnKey Linux.