]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfjablotron.c
CHG: enhanced the debug output for some LF demod/decode
[proxmark3-svn] / client / cmdlfjablotron.c
index 73a377923a2bf989f545a599c2cb719051b6de76..eff0124dd993cc6f56ef93ecfdfdef1835d68c2a 100644 (file)
@@ -6,7 +6,7 @@
 //-----------------------------------------------------------------------------
 // Low frequency Presco tag commands
 //-----------------------------------------------------------------------------
-#include <math.h>
+
 #include "cmdlfjablotron.h"
 
 static int CmdHelp(const char *Cmd);
@@ -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();
Impressum, Datenschutz