X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/96f39a47a98990dbe0ea35f15d9a764d188e1ead..5ff3c4017bdbfe78238ef48c3b521e79819ed359:/armsrc/lfops.c?ds=sidebyside 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++; }