From c1e745e465bea208fc888371ae20bde247dc3e16 Mon Sep 17 00:00:00 2001 From: "roel@libnfc.org" Date: Mon, 4 Mar 2013 15:15:30 +0000 Subject: [PATCH] optimized --- client/flasher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5