optimized

This commit is contained in:
roel@libnfc.org 2013-03-04 15:15:30 +00:00
parent a7b4bf1eb4
commit c1e745e465

View file

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