optimized
This commit is contained in:
parent
a7b4bf1eb4
commit
c1e745e465
@ -67,8 +67,8 @@ void CloseProxmark() {
|
|||||||
int OpenProxmark(size_t i) {
|
int OpenProxmark(size_t i) {
|
||||||
sp = uart_open(serial_port_name);
|
sp = uart_open(serial_port_name);
|
||||||
if (sp == INVALID_SERIAL_PORT) {
|
if (sp == INVALID_SERIAL_PORT) {
|
||||||
//poll once a second
|
//poll once a second
|
||||||
sleep(1);
|
msleep(100);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user