kopia lustrzana https://github.com/Hamlib/Hamlib
Move write_block debug statement before post_write_delay so the debug timing makes more sense
rodzic
2d85464688
commit
b6c5ecd584
|
@ -1046,6 +1046,9 @@ int HAMLIB_API write_block(hamlib_port_t *p, const unsigned char *txbuffer, size
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rig_debug(RIG_DEBUG_TRACE, "%s(): TX %d bytes, method=%d\n", __func__, (int)count, method);
|
||||||
|
dump_hex((unsigned char *) txbuffer, count);
|
||||||
|
|
||||||
if (p->post_write_delay > 0)
|
if (p->post_write_delay > 0)
|
||||||
{
|
{
|
||||||
method |= 4;
|
method |= 4;
|
||||||
|
@ -1067,9 +1070,6 @@ int HAMLIB_API write_block(hamlib_port_t *p, const unsigned char *txbuffer, size
|
||||||
/* with sequential fast writes*/
|
/* with sequential fast writes*/
|
||||||
}
|
}
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s(): TX %d bytes, method=%d\n", __func__, (int)count, method);
|
|
||||||
dump_hex((unsigned char *) txbuffer, count);
|
|
||||||
|
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue