X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/dc6c90c37616172e3820bc6b45dddad3b079a9c3..dbbc82968c0565f2e84cc6a0a25a261da8b8deb3:/client/cmdlfjablotron.c 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();