]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.c
CHG: a major remake of the "hf mf c*" commands. Ie chinese magic tags. Tried to...
[proxmark3-svn] / client / proxmark3.c
index c100bbea0985d05222f580adbf90d05d887540bd..5e5bba8062150e05dd5d43b31e3e5441003c0caf 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