diff --git a/examples/nfc-mfclassic.c b/examples/nfc-mfclassic.c index 0efdbbe..58855be 100644 --- a/examples/nfc-mfclassic.c +++ b/examples/nfc-mfclassic.c @@ -65,8 +65,8 @@ static void print_success_or_failure (bool bFailure, uint32_t * uiBlockCounter) { printf ("%c", (bFailure) ? 'x' : '.'); - if (uiBlockCounter) - *uiBlockCounter += (bFailure) ? 0 : 4; + if (uiBlockCounter && !bFailure) + *uiBlockCounter += (*uiBlockCounter < 128) ? 4 : 16; } static bool