X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a79e330de5604f355c347cee1b2471b8aaf28089..4890730a5f0b986bb8b35b4ccfa9cc61ccdb72e8:/client/flasher.c diff --git a/client/flasher.c b/client/flasher.c index 6019a6b9..3ed43845 100644 --- a/client/flasher.c +++ b/client/flasher.c @@ -72,7 +72,7 @@ void CloseProxmark() { int OpenProxmark(size_t i) { sp = uart_open(serial_port_name); - if (sp == INVALID_SERIAL_PORT) { + if (sp == INVALID_SERIAL_PORT || sp == CLAIMED_SERIAL_PORT) { //poll once a second return 0; }