From: roel@libnfc.org Date: Mon, 4 Mar 2013 15:15:30 +0000 (+0000) Subject: optimized X-Git-Tag: v1.0.0~130^2~3 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c1e745e465bea208fc888371ae20bde247dc3e16 optimized --- diff --git a/client/flasher.c b/client/flasher.c index 9b92ffa4..d494810a 100644 --- a/client/flasher.c +++ b/client/flasher.c @@ -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;