X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e67b06b7067c55f12bbdf72c5f9f00dec11e99fd..3c9ed0e1808f63fa234bb24e558bbf0d2fc42b62:/client/cmdlfem4x.c?ds=sidebyside diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index 862f20bd..bd6137ac 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -257,8 +257,11 @@ int CmdEM410xWatch(const char *Cmd) // is very slow // TBD: Auto-grow sample size based on detected sample rate. IE: If the // rate gets lower, then grow the number of samples - CmdSamples("4000"); - } while ( ! CmdEM410xRead("")); + + // Changed by martin, 4000 x 4 = 16000, + // see http://www.proxmark.org/forum/viewtopic.php?pid=7235#p7235 + CmdSamples("16000"); + } while ( ! CmdEM410xRead("")); return 0; } @@ -409,7 +412,7 @@ int CmdEM4x50Read(const char *Cmd) int CmdEM410xWrite(const char *Cmd) { uint64_t id = 0xFFFFFFFFFFFFFFFF; // invalid id value - unsigned int card = 0xFF; // invalid card value + int card = 0xFF; // invalid card value unsigned int clock = 0; // invalid clock value sscanf(Cmd, "%" PRIx64 " %d %d", &id, &card, &clock);