mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
Give a little time for Flex to turn off ptt
This commit is contained in:
parent
7b71bc09ab
commit
eeca01c080
@ -521,6 +521,7 @@ int smartsdr_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
|||||||
smartsdr_transaction(rig, cmd);
|
smartsdr_transaction(rig, cmd);
|
||||||
sprintf(cmd, "xmit %d", ptt);
|
sprintf(cmd, "xmit %d", ptt);
|
||||||
smartsdr_transaction(rig, cmd);
|
smartsdr_transaction(rig, cmd);
|
||||||
|
if (!ptt) hl_usleep(100*1000); // need a little time for PTT to actually turn off
|
||||||
priv->ptt = ptt;
|
priv->ptt = ptt;
|
||||||
RETURNFUNC(RIG_OK);
|
RETURNFUNC(RIG_OK);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.mfg_name = "Flex-radio",
|
.mfg_name = "Flex-radio",
|
||||||
.version = "20240609.0",
|
.version = "20240806.0",
|
||||||
.copyright = "LGPL",
|
.copyright = "LGPL",
|
||||||
.status = RIG_STATUS_STABLE,
|
.status = RIG_STATUS_STABLE,
|
||||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||||
|
Loading…
Reference in New Issue
Block a user