Add throttling in reconnecting thread

This commit is contained in:
wh201906 2024-01-01 15:58:46 +08:00
parent 47376c84ea
commit b414081e3e
No known key found for this signature in database

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;
}