X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/dc6c90c37616172e3820bc6b45dddad3b079a9c3..6a12ad0c862fe81b435b0e440efc40d08675d7a8:/client/cmdlfjablotron.c?ds=inline diff --git a/client/cmdlfjablotron.c b/client/cmdlfjablotron.c index 73a37792..bd99fede 100644 --- a/client/cmdlfjablotron.c +++ b/client/cmdlfjablotron.c @@ -6,7 +6,7 @@ //----------------------------------------------------------------------------- // Low frequency Presco tag commands //----------------------------------------------------------------------------- -#include + #include "cmdlfjablotron.h" static int CmdHelp(const char *Cmd); @@ -179,7 +179,7 @@ int CmdJablotronClone(const char *Cmd) { 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();