]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
optimized
authorroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Mon, 4 Mar 2013 15:15:30 +0000 (15:15 +0000)
committerroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Mon, 4 Mar 2013 15:15:30 +0000 (15:15 +0000)
client/flasher.c

index 9b92ffa43720136490b0b63c0997a7ada5c083bf..d494810aa5b64ca9a476c047dc19727dcb5c2ba2 100644 (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;
Impressum, Datenschutz