kopia lustrzana https://github.com/Hamlib/Hamlib
Reduce debug inj iofunc.c
rodzic
3c6ae62e59
commit
73d947213f
|
@ -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))
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue