X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/5f5b83b7435ae85f2ffa06f1f8994bda22ce64b2..17a9ca0cdc865d16ecd12bd9fb08b5ab2b329d73:/armsrc/lfsampling.c?ds=sidebyside diff --git a/armsrc/lfsampling.c b/armsrc/lfsampling.c index 841bfab8..def7431d 100644 --- a/armsrc/lfsampling.c +++ b/armsrc/lfsampling.c @@ -371,8 +371,8 @@ uint32_t doCotagAcquisitionManchester() { uint8_t *dest = BigBuf_get_addr(); uint16_t bufsize = BigBuf_max_traceLen(); - if ( bufsize > 320 ) - bufsize = 320; + if ( bufsize > COTAG_BITS ) + bufsize = COTAG_BITS; dest[0] = 0; uint8_t sample = 0, firsthigh = 0, firstlow = 0;