mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
idea based on @jamchamb PR in official pm3 https://github.com/Proxmark/proxmark3/pull/584
This commit is contained in:
parent
ce418fb720
commit
3438d016c7
3 changed files with 5 additions and 5 deletions
|
@ -330,9 +330,9 @@ void MifareUReadCard(uint8_t arg0, uint16_t arg1, uint8_t arg2, uint8_t *datain)
|
|||
if (len) {
|
||||
if (MF_DBGLEVEL >= MF_DBG_ERROR) Dbprintf("Read block %d error",i);
|
||||
// if no blocks read - error out
|
||||
if (i==0){
|
||||
if (i == 0) {
|
||||
OnError(2);
|
||||
return;
|
||||
return;
|
||||
} else {
|
||||
//stop at last successful read block and return what we got
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue