]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
PCF7931: Print found single/consecutive block(s), fixes to block 1 check
[proxmark3-svn] / client / proxmark3.c
index 40c466130f03f645f2e69d6d76f4000b2c688346..fda9f313b3f6876f5c2fe19a8ccbbcf73af651ce 100644 (file)
@@ -29,6 +29,7 @@
 #include "whereami.h"
 #include "comms.h"
 
+
 void
 #ifdef __has_attribute
 #if __has_attribute(force_align_arg_pointer)
@@ -48,6 +49,7 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
                SetOffline(true);
        }
 
+
        // file with script
        FILE *script_file = NULL;
        char script_cmd_buf[256] = {0};  // iceman, needs lua script the same file_path_buffer as the rest
@@ -131,10 +133,6 @@ main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
        }
 
        write_history(".history");
-
-       if (usb_present) {
-               CloseProxmark();
-       }
        
        if (script_file) {
                fclose(script_file);
Impressum, Datenschutz