This should fix Issue 83.
This commit is contained in:
parent
2e39e56e17
commit
8bac5355dd
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ static bool read_card(void)
|
|||
if (!nfc_initiator_select_tag(pnd,NM_ISO14443A_106,NULL,0,&nti))
|
||||
{
|
||||
printf("!\nError: tag was removed\n");
|
||||
return 1;
|
||||
return false;
|
||||
}
|
||||
bFailure = false;
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ static bool write_card(void)
|
|||
if (is_first_block(uiBlock))
|
||||
{
|
||||
// Skip this the first time, bFailure it means nothing (yet)
|
||||
if (uiBlock != uiBlocks)
|
||||
if (uiBlock != 0)
|
||||
print_success_or_failure(bFailure, &uiWriteBlocks);
|
||||
|
||||
// Show if the readout went well
|
||||
|
|
Loading…
Reference in a new issue