From be045da06b661234feb6b1258ca58e8c028b9b56 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Wed, 4 Dec 2024 17:15:35 -0600 Subject: [PATCH] Fix set_mode on rigctlcom --- tests/rigctlcom.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/rigctlcom.c b/tests/rigctlcom.c index fca7aaabd..3938a4027 100644 --- a/tests/rigctlcom.c +++ b/tests/rigctlcom.c @@ -224,7 +224,7 @@ int main(int argc, char *argv[]) char conf_parms[MAXCONFLEN] = ""; int status; - printf("rigctlcom Version 1.5\n"); + printf("rigctlcom Version 1.6\n"); while (1) { @@ -1604,7 +1604,6 @@ static int handle_ts2000(void *arg) } else if (strncmp(arg, "MD", 2) == 0) { - //char response[32]; mode_t mode = 0; int imode = 0; @@ -1633,10 +1632,6 @@ static int handle_ts2000(void *arg) case 9: mode = RIG_MODE_RTTYR; break; } rig_set_mode(my_rig, RIG_VFO_A, mode, -1); -#if 0 - SNPRINTF(response, sizeof(response), "MD%c;", mode + '0'); - return write_block2((void *)__func__, &my_com, response, strlen(response)); -#endif } else if (strcmp(arg, "PS1;") == 0) {