CHG: printing of progress dots is better now.
This commit is contained in:
@@ -1217,7 +1217,8 @@ int CmdHF14AMfChk(const char *Cmd) {
|
|||||||
if (e_sector[i].foundKey[trgKeyType]) continue;
|
if (e_sector[i].foundKey[trgKeyType]) continue;
|
||||||
|
|
||||||
for (uint32_t c = 0; c < keycnt; c += max_keys) {
|
for (uint32_t c = 0; c < keycnt; c += max_keys) {
|
||||||
|
printf(".");
|
||||||
|
fflush(stdout);
|
||||||
uint32_t size = keycnt-c > max_keys ? max_keys : keycnt-c;
|
uint32_t size = keycnt-c > max_keys ? max_keys : keycnt-c;
|
||||||
|
|
||||||
res = mfCheckKeys(b, trgKeyType, true, size, &keyBlock[6*c], &key64);
|
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;
|
e_sector[i].foundKey[trgKeyType] = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
printf(".");
|
|
||||||
fflush(stdout);
|
|
||||||
}
|
}
|
||||||
b < 127 ? ( b +=4 ) : ( b += 16 );
|
b < 127 ? ( b +=4 ) : ( b += 16 );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user