]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlft55xx.c
FIX: Another try to see if the "lf em4x 410xsim" becomes better, added the clock...
[proxmark3-svn] / client / cmdlft55xx.c
index 09ba1ee769c1b7072a993ceaedfcfb878a9f2148..9eaa646301f873f33db0edf54208a9d90e6deb78 100644 (file)
@@ -41,7 +41,7 @@ int CmdReadBlk(const char *Cmd)
        c.cmd = CMD_T55XX_READ_BLOCK;\r
        c.d.asBytes[0] = 0x00;\r
        c.arg[0] = 0;\r
-       c.arg[1] = Block;\r
+       c.arg[1] = block;\r
        c.arg[2] = 0;\r
        SendCommand(&c);\r
        WaitForResponse(CMD_ACK, NULL);\r
@@ -316,8 +316,8 @@ int CmdDump(const char *Cmd){
        }\r
        \r
        if ( hasPwd ){\r
-               if (param_gethex(Cmd, 0, pwd, 4)) {\r
-                       PrintAndLog("password must include 4 HEX symbols");\r
+               if (param_gethex(Cmd, 0, pwd, 8)) {\r
+                       PrintAndLog("password must include 8 HEX symbols");\r
                        return 0;\r
                }\r
        }\r
Impressum, Datenschutz