kopia lustrzana https://github.com/Hamlib/Hamlib
Give a little time for Flex to turn off ptt
rodzic
7b71bc09ab
commit
eeca01c080
|
@ -518,9 +518,10 @@ int smartsdr_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf(cmd, "slice set %d tx=1", priv->slicenum);
|
sprintf(cmd, "slice set %d tx=1", priv->slicenum);
|
||||||
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,
|
||||||
|
|
Ładowanie…
Reference in New Issue