Reduce debug inj iofunc.c

This commit is contained in:
Michael Black W9MDB 2020-09-30 12:56:47 -05:00
parent 3c6ae62e59
commit 73d947213f

View File

@ -665,7 +665,7 @@ int HAMLIB_API read_string(hamlib_port_t *p,
struct timeval tv, tv_timeout, start_time, end_time, elapsed_time;
int total_count = 0;
rig_debug(RIG_DEBUG_TRACE, "%s called, rx_max=%ld\n", __func__, rxmax);
rig_debug(RIG_DEBUG_TRACE, "%s called, rxmax=%ld\n", __func__, rxmax);
if (!p || !rxbuffer)
{
@ -766,7 +766,6 @@ int HAMLIB_API read_string(hamlib_port_t *p,
}
++total_count;
rig_debug(RIG_DEBUG_TRACE, "%s: total_count=%d rxmax-1=%ld\n", __func__, total_count, rxmax-1);
if (stopset && memchr(stopset, rxbuffer[total_count - 1], stopset_len))
{