X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ff9c043da29150aa785723326537ba93ddac0614..4eabb8ad382f87aaee497d35e88c169da96b8fda:/client/cmdlfvisa2000.c diff --git a/client/cmdlfvisa2000.c b/client/cmdlfvisa2000.c index c0837108..5c030ec3 100644 --- a/client/cmdlfvisa2000.c +++ b/client/cmdlfvisa2000.c @@ -62,7 +62,7 @@ int CmdVisa2kDemod(const char *Cmd) { // save GraphBuffer - to restore it later save_restoreGB(1); - CmdAskEdgeDetect(""); + //sCmdAskEdgeDetect(""); //ASK / Manchester bool st = TRUE; @@ -88,7 +88,8 @@ int CmdVisa2kDemod(const char *Cmd) { return 0; } setDemodBuf(DemodBuffer, 96, ans); - + setGrid_Clock(64); + //got a good demod uint32_t raw1 = bytebits_to_byte(DemodBuffer, 32); uint32_t raw2 = bytebits_to_byte(DemodBuffer+32, 32); @@ -110,7 +111,7 @@ int CmdVisa2kDemod(const char *Cmd) { int CmdVisa2kRead(const char *Cmd) { CmdLFRead("s"); - getSamples("16000",TRUE); + getSamples("12000",TRUE); return CmdVisa2kDemod(Cmd); }