X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/4a049b7847f69c9f4554c62c34085e1a0a77cb51..5f91a683b7f3b3b9217db9407a13b1d738070f01:/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; }