From: thijsbreman@gmail.com Date: Mon, 4 Mar 2013 13:07:15 +0000 (+0000) Subject: polling per second in OpenProxmark X-Git-Tag: v1.0.0~130^2~4 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/a7b4bf1eb4075f6d04b767ba26477017a85c0957 polling per second in OpenProxmark --- diff --git a/client/flasher.c b/client/flasher.c index f2a8e7c8..9b92ffa4 100644 --- a/client/flasher.c +++ b/client/flasher.c @@ -67,6 +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); return 0; } return 1;