kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
782e39eb33
commit
4c530dc578
|
@ -2698,11 +2698,6 @@ int k4_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
|
||||||
|
|
||||||
if (!ptt)
|
|
||||||
{
|
|
||||||
return -RIG_EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
snprintf(cmd, sizeof(cmd), "TX0");
|
snprintf(cmd, sizeof(cmd), "TX0");
|
||||||
if (ptt) cmd[2] = '1';
|
if (ptt) cmd[2] = '1';
|
||||||
retval = kenwood_transaction(rig, cmd, NULL, 0);
|
retval = kenwood_transaction(rig, cmd, NULL, 0);
|
||||||
|
|
Ładowanie…
Reference in New Issue