kopia lustrzana https://github.com/Hamlib/Hamlib
Fix set_mode on rigctlcom
rodzic
58924b7bec
commit
be045da06b
|
@ -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)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue