X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/00abc7c1ab50f5f7fcd896bb8fb5d295c97fada1..e4b65f5bc16eef150efb5327d9aa9e2e48e999be:/client/cmdlfjablotron.c diff --git a/client/cmdlfjablotron.c b/client/cmdlfjablotron.c index 1f279a3b..eff0124d 100644 --- a/client/cmdlfjablotron.c +++ b/client/cmdlfjablotron.c @@ -130,7 +130,7 @@ int CmdJablotronDemod(const char *Cmd) { int CmdJablotronRead(const char *Cmd) { CmdLFRead("s"); - getSamples("30000",false); + getSamples("20000", TRUE); return CmdJablotronDemod(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();