From b414081e3e4adad47f31a7e14c9ac63a29365e6c Mon Sep 17 00:00:00 2001 From: wh201906 Date: Mon, 1 Jan 2024 15:58:46 +0800 Subject: [PATCH] Add throttling in reconnecting thread --- client/src/comms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/comms.c b/client/src/comms.c index d4915c8f1..70dbdff04 100644 --- a/client/src/comms.c +++ b/client/src/comms.c @@ -355,6 +355,8 @@ void *uart_reconnect(void *targ) { } while (1) { + // throttle + msleep(200); if (OpenProxmarkSilent(&g_session.current_device, connection->serial_port_name, speed) == false) { continue; }