Update main.c

beta-cc-hi
Alan Johnston 2 years ago committed by GitHub
parent c5baa06a54
commit d3aff37453
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1163,7 +1163,8 @@ void get_tlm(void) {
strcat(str, header_str4); strcat(str, header_str4);
strcat(str, call); strcat(str, call);
sprintf(tlm_str, "%s' > cw0.txt", &str); sprintf(tlm_str, "%s' > cw0.txt", &str);
printf("CW string to execute: %s\n", &tlm_str);
FILE * cw_file = popen(tlm_str, "r"); FILE * cw_file = popen(tlm_str, "r");
pclose(cw_file); pclose(cw_file);
@ -1184,8 +1185,10 @@ void get_tlm(void) {
// if (mode != AFSK) // if (mode != AFSK)
//#endif //#endif
// if ((!hab_mode) || ((hab_mode) && (mode != AFSK))) // if ((!hab_mode) || ((hab_mode) && (mode != AFSK)))
strcat(str, tlm_str); strcat(str, tlm_str);
printf("CW string to execute: %s\n", &tlm_str);
FILE * cw_file = popen(tlm_str, "r"); FILE * cw_file = popen(tlm_str, "r");
pclose(cw_file); pclose(cw_file);

Loading…
Cancel
Save

Powered by TurnKey Linux.