Add throttling in reconnecting thread

This commit is contained in:
wh201906 committed 2024-01-01 16:09:24 +08:00
1 parent 47376c84ea
commit b414081e3e
1 file changed
+2
+2
View File
@@ -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;
}