Mike Black W9MDB 2021-11-10 17:27:47 -06:00
rodzic 65cc461918
commit 7dceda7d2c
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -2694,6 +2694,7 @@ int k4_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
char pttbuf[6];
int retval;
ptt_t ptt2;
char *cmd = "TX0";
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
@ -2702,7 +2703,8 @@ int k4_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
return -RIG_EINVAL;
}
retval = kenwood_safe_transaction(rig, "TX", pttbuf, 6, 4);
if (ptt) cmd[2] = '1';
retval = kenwood_transaction(rig, cmd, NULL, 0);
if (retval != RIG_OK)
{