]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
ohps, forgot to multiply it up again.
authoriceman1001 <iceman@iuse.se>
Fri, 30 Jan 2015 08:23:49 +0000 (09:23 +0100)
committericeman1001 <iceman@iuse.se>
Fri, 30 Jan 2015 08:23:49 +0000 (09:23 +0100)
client/cmddata.c

index fbdbefe5739d11cde43d7368967003a996708195..51402b652885fbebd49b2c6b93d4780b5dd7f72b 100644 (file)
@@ -64,8 +64,9 @@ void printDemodBuff()
        if (bitLen>512) bitLen=512; //max output to 512 bits if we have more - should be plenty
                
        // equally divided by 16
+       
        if ( bitLen % 16 > 0)
-               bitLen = (bitLen/16);
+               bitLen = (bitLen/16)*16;
        
        for (i = 0; i <= (bitLen-16); i+=16) {
                PrintAndLog("%i%i%i%i%i%i%i%i%i%i%i%i%i%i%i%i",
Impressum, Datenschutz