minor edits

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

@ -686,6 +686,10 @@ void get_tlm(void) {
FILE * txResult; FILE * txResult;
for (int j = 0; j < frameCnt; j++) { for (int j = 0; j < frameCnt; j++) {
fflush(stdout);
fflush(stderr);
digitalWrite(txLed, txLedOn); digitalWrite(txLed, txLedOn);
#ifdef DEBUG_LOGGING #ifdef DEBUG_LOGGING
printf("Tx LED On\n"); printf("Tx LED On\n");
@ -702,7 +706,7 @@ void get_tlm(void) {
// FILE * file = popen(pythonStr, "r"); // FILE * file = popen(pythonStr, "r");
fputc('\n', file1); fputc('\n', file1);
fgets(cmdbuffer, 1000, file1); fgets(cmdbuffer, 1000, file1);
printf("Pyton result: %s\n", cmdbuffer); printf("Python result: %s\n", cmdbuffer);
// pclose(file); // pclose(file);
const char space[2] = " "; const char space[2] = " ";

Loading…
Cancel
Save

Powered by TurnKey Linux.