Reduced debug in barrett.c

pull/928/head
Mike Black W9MDB 2022-01-12 17:02:44 -06:00
rodzic abb3405cae
commit 66194804f9
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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));