From 2fdc489bb4f62dbea718d59aa5ddfdbf1624bb79 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 19 May 2016 12:47:23 +0200 Subject: [PATCH] CHG: printing of progress dots is better now. --- client/cmdhfmf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ); } -- 2.39.2