Temporarily adding a bit of debug to help figure out 0xfe logic for icom/frame.c

This commit is contained in:
Mike Black W9MDB 2021-12-22 17:45:15 -06:00
parent 8c5816c53c
commit 55b8f03c74

View File

@ -200,6 +200,7 @@ int icom_one_transaction(RIG *rig, unsigned char cmd, int subcmd,
RETURNFUNC(-RIG_EPROTO); RETURNFUNC(-RIG_EPROTO);
} }
// we might have 0xfe string during rig wakeup // we might have 0xfe string during rig wakeup
rig_debug(RIG_DEBUG_TRACE, "%s: DEBUG retval=%d, frm_len=%d, cmd=0x%02x\n", __func__, retval, frm_len, cmd);
if (retval != frm_len && cmd == C_SET_PWR) if (retval != frm_len && cmd == C_SET_PWR)
{ {
rig_debug(RIG_DEBUG_TRACE, "%s: removing 0xfe power up echo, len=%d", __func__, frm_len); rig_debug(RIG_DEBUG_TRACE, "%s: removing 0xfe power up echo, len=%d", __func__, frm_len);