]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/flasher.c
USB CDC patch by jonor to enable working under kernel 2.6.27
[proxmark3-svn] / client / flasher.c
index 6019a6b937120d3c7c3fe893c8887861d733348a..3ed438452038a8c31197bc87f5664d989197b0fd 100644 (file)
@@ -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;
   }
Impressum, Datenschutz