Add throttling in reconnecting thread
This commit is contained in:
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user