From: iceman1001 Date: Fri, 30 Jan 2015 08:23:49 +0000 (+0100) Subject: ohps, forgot to multiply it up again. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/f4a694f998f0274f248e8cdbd8cbfab566e2ef9d?ds=sidebyside;hp=-c ohps, forgot to multiply it up again. --- f4a694f998f0274f248e8cdbd8cbfab566e2ef9d diff --git a/client/cmddata.c b/client/cmddata.c index fbdbefe5..51402b65 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -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",