kopia lustrzana https://github.com/Hamlib/Hamlib
Fix ts480.c to expect return from RX command when PTT=true
rodzic
7bdae11b56
commit
ed2e552852
|
@ -2681,7 +2681,7 @@ int kenwood_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||||
int err = kenwood_get_ptt(rig, vfo, &ptttmp);
|
int err = kenwood_get_ptt(rig, vfo, &ptttmp);
|
||||||
if (err != RIG_OK)
|
if (err != RIG_OK)
|
||||||
return err;
|
return err;
|
||||||
if (!ptt) return kenwood_transaction(rig, ptt_cmd, ackbuf, sizeof(ackbuf));
|
if (ptt) return kenwood_transaction(rig, ptt_cmd, ackbuf, sizeof(ackbuf));
|
||||||
}
|
}
|
||||||
return kenwood_transaction(rig, ptt_cmd, NULL, 0);
|
return kenwood_transaction(rig, ptt_cmd, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue