X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a38f5a0704240efdf46ee423f0c9ed10a48b1078..a9eeb576983f932ee622554ccd4e08be10e695b5:/client/cmdlfpresco.c diff --git a/client/cmdlfpresco.c b/client/cmdlfpresco.c index accd6f22..3afb3d24 100644 --- a/client/cmdlfpresco.c +++ b/client/cmdlfpresco.c @@ -137,6 +137,7 @@ int CmdPrescoDemod(const char *Cmd) { return 0; } setDemodBuf(DemodBuffer, 128, ans); + setGrid_Clock(32); //got a good demod uint32_t raw1 = bytebits_to_byte(DemodBuffer, 32); @@ -173,14 +174,14 @@ int CmdPrescoClone(const char *Cmd) { bool Q5 = false; uint32_t sitecode=0, usercode=0, fullcode=0; - uint32_t blocks[5] = {T55x7_MODULATION_MANCHESTER | T55x7_BITRATE_RF_32 | 4<>1) << T5555_BITRATE_SHIFT | 4 << T5555_MAXBLOCK_SHIFT | T5555_ST_TERMINATOR; if ((sitecode & 0xFF) != sitecode) { sitecode &= 0xFF;