mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-02 13:28:14 +08:00
optimized
This commit is contained in:
parent
a7b4bf1eb4
commit
c1e745e465
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ void CloseProxmark() {
|
|||
int OpenProxmark(size_t i) {
|
||||
sp = uart_open(serial_port_name);
|
||||
if (sp == INVALID_SERIAL_PORT) {
|
||||
//poll once a second
|
||||
sleep(1);
|
||||
//poll once a second
|
||||
msleep(100);
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue