Michael Black W9MDB 2024-12-21 14:46:39 -06:00
rodzic 4b4b1b0d51
commit 8842ae7c29
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -462,7 +462,7 @@ static int smartsdr_parse_S(RIG *rig, char *s)
rig_debug(RIG_DEBUG_VERBOSE, "%s: PTT state=%s, ptt=%d\n", __func__, state,
priv->ptt);
}
else if (sscanf(p, "tx=%d\n", &priv->tx))
else if (sscanf(p, "tx=%d\n", &priv->tx) == 1)
{
rig_debug(RIG_DEBUG_VERBOSE, "%s: tx=%d\n", __func__, priv->tx);
}