From a7b4bf1eb4075f6d04b767ba26477017a85c0957 Mon Sep 17 00:00:00 2001 From: "thijsbreman@gmail.com" Date: Mon, 4 Mar 2013 13:07:15 +0000 Subject: [PATCH] polling per second in OpenProxmark --- client/flasher.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/flasher.c b/client/flasher.c index f2a8e7c81..9b92ffa43 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;