Commit bb7b0568 authored by Philippe Teuwen's avatar Philippe Teuwen

nfc-mfclassic: fix reporting of processed blocks number

parent dd209460
......@@ -138,7 +138,7 @@ print_success_or_failure(bool bFailure, uint32_t *uiBlockCounter)
{
printf("%c", (bFailure) ? 'x' : '.');
if (uiBlockCounter && !bFailure)
*uiBlockCounter += (*uiBlockCounter < 128) ? 4 : 16;
*uiBlockCounter += 1;
}
static bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment