From: iceman1001 Date: Thu, 19 May 2016 10:47:23 +0000 (+0200) Subject: CHG: printing of progress dots is better now. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/2fdc489bb4f62dbea718d59aa5ddfdbf1624bb79 CHG: printing of progress dots is better now. --- diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 9797126b..9b43f411 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1217,7 +1217,8 @@ int CmdHF14AMfChk(const char *Cmd) { if (e_sector[i].foundKey[trgKeyType]) continue; for (uint32_t c = 0; c < keycnt; c += max_keys) { - + printf("."); + fflush(stdout); uint32_t size = keycnt-c > max_keys ? max_keys : keycnt-c; res = mfCheckKeys(b, trgKeyType, true, size, &keyBlock[6*c], &key64); @@ -1226,8 +1227,6 @@ int CmdHF14AMfChk(const char *Cmd) { e_sector[i].foundKey[trgKeyType] = TRUE; break; } - printf("."); - fflush(stdout); } b < 127 ? ( b +=4 ) : ( b += 16 ); }