]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
Added a visa2000 trace.
[proxmark3-svn] / client / cmdhf14a.c
index abb786f4d15cc880345572f41d5df0c98c88217d..6411a919fe684f7632783e45374a20357296a56c 100644 (file)
@@ -216,16 +216,15 @@ int CmdHF14AReader(const char *Cmd) {
                        ul_switch_off_field();
                        
                        uint32_t tagT = GetHF14AMfU_Type();
-                       ul_print_type(tagT, 0);
+                       if (tagT != UL_ERROR)
+                               ul_print_type(tagT, 0);
 
                        // reconnect for further tests
                        c.arg[0] = ISO14A_CONNECT | ISO14A_NO_DISCONNECT;
                        c.arg[1] = 0;
                        c.arg[2] = 0;
-
                        clearCommandBuffer();
                        SendCommand(&c);
-
                        UsbCommand resp;
                        WaitForResponse(CMD_ACK, &resp);
                        
Impressum, Datenschutz