X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ff9c043da29150aa785723326537ba93ddac0614..be67483e63430608982f1c92e02b59d7b4dc65b3:/client/cmdlfnedap.c?ds=sidebyside diff --git a/client/cmdlfnedap.c b/client/cmdlfnedap.c index 8f5832ad..7a3268bb 100644 --- a/client/cmdlfnedap.c +++ b/client/cmdlfnedap.c @@ -136,7 +136,8 @@ int CmdLFNedapDemod(const char *Cmd) { raw[2] = bytebits_to_byte(DemodBuffer+idx+32,32); raw[3] = bytebits_to_byte(DemodBuffer+idx,32); setDemodBuf(DemodBuffer,128,idx); - + setGrid_Clock(64); + uint8_t firstParity = GetParity( DemodBuffer, EVEN, 63); if ( firstParity != DemodBuffer[63] ) { PrintAndLog("DEBUG: Error - Nedap 1st 64bit parity check failed: %d|%d ", DemodBuffer[63], firstParity);