Update main.c

pull/42/head
alanbjohnston 6 years ago committed by GitHub
parent ab8dcd098d
commit 9808485bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -595,7 +595,7 @@ while (loop-- != 0)
fprintf(stderr,"INFO: Getting TLM Data\n"); fprintf(stderr,"INFO: Getting TLM Data\n");
#endif #endif
if (mode == AFSK) if ((mode == AFSK) && (mode == CW))
{ {
get_tlm(); get_tlm();
} }
@ -802,7 +802,7 @@ for (int j = 0; j < frameCnt; j++)
printf("Before cmd\n"); printf("Before cmd\n");
printf("CW telem String: %s\n", cw_str2); printf("CW telem String: %s\n", cw_str2);
// FILE* f; // FILE* f;
if (mode = CW) if (mode == CW)
system(cw_str2); system(cw_str2);
// printf("File %d \n", f); // printf("File %d \n", f);
// printf("close: %d \n", pclose(f)); // execute command and wait for termination before continuing // printf("close: %d \n", pclose(f)); // execute command and wait for termination before continuing

Loading…
Cancel
Save

Powered by TurnKey Linux.