]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/lfsampling.c
FIX: memcpy bug...
[proxmark3-svn] / armsrc / lfsampling.c
index 841bfab86313f15343befefa4bf8d6b887e5fa99..def7431ded510908bb3572da80fe486586031d65 100644 (file)
@@ -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; 
Impressum, Datenschutz