kopia lustrzana https://github.com/Hamlib/Hamlib
Remove HAMLIB_TRACE from iofunc.c
rodzic
07dde9ae0f
commit
33d13f7849
|
@ -492,12 +492,10 @@ static int port_read_sync_data(hamlib_port_t *p, void *buf, size_t count)
|
|||
switch (result)
|
||||
{
|
||||
case ERROR_SUCCESS:
|
||||
HAMLIB_TRACE;
|
||||
// No error?
|
||||
break;
|
||||
|
||||
case ERROR_IO_PENDING:
|
||||
HAMLIB_TRACE;
|
||||
timeout.QuadPart = (p->timeout * -1000000LL);
|
||||
|
||||
if ((result = SetWaitableTimer(hLocal, &timeout, 0, NULL, NULL, 0)) == 0)
|
||||
|
@ -510,7 +508,6 @@ static int port_read_sync_data(hamlib_port_t *p, void *buf, size_t count)
|
|||
wait_result = WaitForMultipleObjects(3, event_handles, FALSE, p->timeout);
|
||||
}
|
||||
|
||||
HAMLIB_TRACE;
|
||||
|
||||
switch (wait_result)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue