kopia lustrzana https://github.com/Hamlib/Hamlib
Reduced debug in barrett.c
rodzic
abb3405cae
commit
66194804f9
|
@ -114,17 +114,17 @@ int barrett_transaction(RIG *rig, char *cmd, int expected, char **result)
|
|||
|
||||
if (xon == 0x13 && xoff == 0x11)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: removing xoff char\n", __func__);
|
||||
//rig_debug(RIG_DEBUG_TRACE, "%s: removing xoff char\n", __func__);
|
||||
p[strlen(p) - 1] = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
rig_debug(RIG_DEBUG_TRACE,
|
||||
rig_debug(RIG_DEBUG_WARN,
|
||||
"%s: expected XOFF=0x13 as first and XON=0x11 as last byte, got %02x/%02x\n",
|
||||
__func__, xon, xoff);
|
||||
}
|
||||
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: removing xon char\n", __func__);
|
||||
//rig_debug(RIG_DEBUG_ERR, "%s: removing xon char\n", __func__);
|
||||
// Remove the XON char if there
|
||||
p = memchr(priv->ret_data, 0x11, strlen(priv->ret_data));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue