Fix smartsdr set_ptt

This commit is contained in:
Mike Black W9MDB 2024-08-14 12:45:52 -05:00
parent 6f9de59bbd
commit 61036be5d9
2 changed files with 2 additions and 2 deletions

View File

@ -511,7 +511,7 @@ int smartsdr_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
char slicechar[] = { '?','A','B','C','D','E','F','G','H' };
ENTERFUNC;
if (priv->ptt)
if (priv->ptt && ptt) // abort ptt if we're already transmitting
{
rig_debug(RIG_DEBUG_ERR, "%s: abort PTT on slice %c, another slice has PTT control\n", __func__, slicechar[priv->slicenum]);
return -RIG_ENTARGET;

View File

@ -1,5 +1,5 @@
.mfg_name = "Flex-radio",
.version = "20240807.0",
.version = "20240814.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,