Skip to content

Commit

Permalink
apply astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
zcsahok committed Apr 30, 2024
1 parent 96d3814 commit 4603d5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/getexchange.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ int getexchange(void) {
x = key_poll();
}

x = handle_common_key(x);
x = handle_common_key(x);

switch (x) {

Expand Down
22 changes: 11 additions & 11 deletions src/keyer.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,17 @@ int handle_common_key(int key) {
break;
}

// Alt-0 to Alt-9 (M-0...M-9), send CW/Digimode messages 15-24.
case 128+'0' ... 128+'9': {
int index = key - (128+'0') + CQ_TU_MSG + 1;
if (*current_qso.call == '\0') {
send_standard_message_prev_qso(index);
} else {
send_standard_message(index);
}

break;
}
// Alt-0 to Alt-9 (M-0...M-9), send CW/Digimode messages 15-24.
case 128+'0' ... 128+'9': {
int index = key - (128 + '0') + CQ_TU_MSG + 1;
if (*current_qso.call == '\0') {
send_standard_message_prev_qso(index);
} else {
send_standard_message(index);
}

break;
}

// <Page-Down>, change RST if call field not empty, else decrease CW speed.
case KEY_NPAGE: {
Expand Down

0 comments on commit 4603d5b

Please sign in to comment.