From 01a7eee18d1913d4ece42da24fd76880bc316dd7 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Tue, 16 May 2023 07:38:21 -0500 Subject: [PATCH] Reduced loop time in termios.c to 1ms vice 10ms https://github.com/Hamlib/Hamlib/issues/695 --- lib/termios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/termios.c b/lib/termios.c index 0b9088e7f..922f358a1 100644 --- a/lib/termios.c +++ b/lib/termios.c @@ -3798,9 +3798,9 @@ int win32_serial_select(int n, fd_set *readfds, fd_set *writefds, goto end; } - hl_usleep(10000); + hl_usleep(1000); /* FIXME: not very accurate wrt process time */ - timeout_usec -= 10000; + timeout_usec -= 1000; report("sleep...\n");