use pclose(popen()) for cw ID to prevent callsign cutoff

pull/39/head
alanbjohnston 6 years ago committed by GitHub
parent fd68de5d03
commit 7aa5e913df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -509,9 +509,9 @@ if (cw_id == ON) // Don't send CW if using AX5043 or in mode cycling or set by 3
digitalWrite (txLed, txLedOn);
//printf("Before 1st strcpy\n");
//printf("CW String: %s\n", cw_str);
popen(cw_str,"r");
pclose(popen(cw_str,"r")); // execute command and wait for termination before continuing
//printf("Before 1st strcpy\n");
sleep(6);
// sleep(7);
//printf("Before Write\n");
digitalWrite (txLed, txLedOn);
//printf("After Write\n");

Loading…
Cancel
Save

Powered by TurnKey Linux.