kopia lustrzana https://github.com/Hamlib/Hamlib
Have icom rigs show debug when civ addr has been changed and timeout occurs
https://github.com/Hamlib/Hamlib/issues/1229pull/1242/head
rodzic
c055817c27
commit
1efff461e3
|
@ -289,6 +289,13 @@ read_another_frame:
|
||||||
if (frm_len < 0)
|
if (frm_len < 0)
|
||||||
{
|
{
|
||||||
set_transaction_inactive(rig);
|
set_transaction_inactive(rig);
|
||||||
|
|
||||||
|
if (priv_caps->re_civ_addr != priv->re_civ_addr)
|
||||||
|
{
|
||||||
|
rig_debug(RIG_DEBUG_ERR, "%s: Icom timeout civ expected=%02x, used=%02x\n",
|
||||||
|
__func__, priv_caps->re_civ_addr, priv->re_civ_addr);
|
||||||
|
}
|
||||||
|
|
||||||
/* RIG_TIMEOUT: timeout getting response, return timeout */
|
/* RIG_TIMEOUT: timeout getting response, return timeout */
|
||||||
/* other error: return it */
|
/* other error: return it */
|
||||||
RETURNFUNC(frm_len);
|
RETURNFUNC(frm_len);
|
||||||
|
|
Ładowanie…
Reference in New Issue