]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
add -s to hf 14b raw to select a std 14b tag first
[proxmark3-svn] / client / proxmark3.c
index 0e2a698c1b8ca3783f2a1bc16d980539c423ce22..2f370308f9cb4bcb3a1d09bcd89fe414161efe6f 100644 (file)
@@ -24,7 +24,7 @@
 #include "ui.h"
 #include "sleep.h"
 #include "cmdparser.h"
 #include "ui.h"
 #include "sleep.h"
 #include "cmdparser.h"
-#include "cmdmain.h"
+#include "cmdhw.h"
 
 // a global mutex to prevent interlaced printing from different threads
 pthread_mutex_t print_lock;
 
 // a global mutex to prevent interlaced printing from different threads
 pthread_mutex_t print_lock;
@@ -105,6 +105,8 @@ static void *main_loop(void *targ) {
        if (arg->usb_present == 1) {
                rarg.run = 1;
                pthread_create(&reader_thread, NULL, &uart_receiver, &rarg);
        if (arg->usb_present == 1) {
                rarg.run = 1;
                pthread_create(&reader_thread, NULL, &uart_receiver, &rarg);
+               // cache Version information now:
+               CmdVersion(NULL);
        }
 
        FILE *script_file = NULL;
        }
 
        FILE *script_file = NULL;
Impressum, Datenschutz