X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/04a6113fb50c7436995b5bfc0cddbbed8ec5699d..5ff3c4017bdbfe78238ef48c3b521e79819ed359:/armsrc/lfops.c diff --git a/armsrc/lfops.c b/armsrc/lfops.c index 887e8404..70c6e33b 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -1465,7 +1465,7 @@ void CopyIndala224toT55x7(int uid1, int uid2, int uid3, int uid4, int uid5, int int DemodPCF7931(uint8_t **outBlocks) { uint8_t BitStream[256] = {0x00}; - uint8_t Blocks[8][16] = [0x00}; + uint8_t Blocks[8][16]; uint8_t *dest = BigBuf_get_addr(); int GraphTraceLen = BigBuf_max_traceLen(); int i, j, lastval, bitidx, half_switch; @@ -1496,7 +1496,7 @@ int DemodPCF7931(uint8_t **outBlocks) { } else { while(i < GraphTraceLen) { - if( !(dest[i] < dest[i-1]) && v[i] < lmin) + if( !(dest[i] < dest[i-1]) && dest[i] < lmin) break; i++; }