nfc-mfclassic: fix reporting of processed blocks number

This commit is contained in:
Philippe Teuwen 2013-03-12 10:55:45 +01:00
parent dd209460b1
commit bb7b05681e

View file

@ -138,7 +138,7 @@ print_success_or_failure(bool bFailure, uint32_t *uiBlockCounter)
{ {
printf("%c", (bFailure) ? 'x' : '.'); printf("%c", (bFailure) ? 'x' : '.');
if (uiBlockCounter && !bFailure) if (uiBlockCounter && !bFailure)
*uiBlockCounter += (*uiBlockCounter < 128) ? 4 : 16; *uiBlockCounter += 1;
} }
static bool static bool