mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 10:01:07 +08:00
Add throttling in reconnecting thread
This commit is contained in:
parent
47376c84ea
commit
b414081e3e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue