]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfjablotron.c
FIX: Forget that the prng was 0x8000 length and not 0xFFFF. Sorry. Also returned...
[proxmark3-svn] / client / cmdlfjablotron.c
index 1f279a3b3b113a7c16e5373dfdf5af04972f0b31..bd99fede512f47aebd5f866826fdedf12525ebab 100644 (file)
@@ -179,7 +179,7 @@ int CmdJablotronClone(const char *Cmd) {
        UsbCommand resp;
        UsbCommand c = {CMD_T55XX_WRITE_BLOCK, {0,0,0}};
 
        UsbCommand resp;
        UsbCommand c = {CMD_T55XX_WRITE_BLOCK, {0,0,0}};
 
-       for (int i=4; i>=0; i--) {
+       for (int i = 2; i >= 0; --i) {
                c.arg[0] = blocks[i];
                c.arg[1] = i;
                clearCommandBuffer();
                c.arg[0] = blocks[i];
                c.arg[1] = i;
                clearCommandBuffer();
Impressum, Datenschutz