fixed order of python call

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

@ -618,9 +618,6 @@ int main(int argc, char * argv[]) {
get_tlm_fox();
firstTime = 1;
fgets(cmdbuffer, 1000, file1);
fprintf(stderr, "pythonStr result: %s\n", cmdbuffer);
strcpy(pythonStr, pythonCmd);
strcat(pythonStr, busStr);
strcat(pythonConfigStr, pythonStr);
@ -630,6 +627,9 @@ int main(int argc, char * argv[]) {
file1 = sopen(pythonConfigStr); // python sensor polling function
fgets(cmdbuffer, 1000, file1);
fprintf(stderr, "pythonStr result: %s\n", cmdbuffer);
long int loopTime;
loopTime = millis();

Loading…
Cancel
Save

Powered by TurnKey Linux.