From: iceman1001 Date: Thu, 29 Jan 2015 21:22:29 +0000 (+0100) Subject: wrong letter in variable name X-Git-Tag: v2.0.0-rc1~34^2~1 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/33c7e2f3bc324a122fb9db8dca23efcd425a3cec wrong letter in variable name Conflicts: client/cmddata.c --- diff --git a/client/cmddata.c b/client/cmddata.c index 8c91f0e1..cf4dc6b9 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -56,6 +56,11 @@ void printDemodBuff() return; } 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); + 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", DemodBuffer[i],