fixed source and dest callsign printf issue

pull/24/head
alanbjohnston 7 years ago committed by GitHub
parent 57d0a56cb7
commit f7fdbc20cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -185,8 +185,6 @@ int main(void) {
AX25_PREAMBLE_LEN, AX25_PREAMBLE_LEN,
AX25_POSTAMBLE_LEN); AX25_POSTAMBLE_LEN);
printf("%s-1>CQ-1:", CALLSIGN);
/* Infinite loop */ /* Infinite loop */
for (;;) { for (;;) {
sleep(1); // Delay 1 second sleep(1); // Delay 1 second
@ -206,7 +204,7 @@ int main(void) {
char header_str[] = "\x03\xf0hi hi "; char header_str[] = "\x03\xf0hi hi ";
strcpy(str, header_str); strcpy(str, header_str);
printf("hi hi "); printf("%s-1>CQ-1:hi hi ", CALLSIGN);
int channel; int channel;
for (channel = 1; channel < 7; channel++) { for (channel = 1; channel < 7; channel++) {

Loading…
Cancel
Save

Powered by TurnKey Linux.