make style
This commit is contained in:
parent
3ec9ecf800
commit
024fca9cb7
3 changed files with 48 additions and 52 deletions
|
@ -602,17 +602,14 @@ main(int argc, const char *argv[])
|
|||
uiBlocks = 0x14;
|
||||
iEV1Type = EV1_UL11;
|
||||
iDumpSize = sizeof(mifareul_ev1_mf0ul11_tag);
|
||||
}
|
||||
else if(abtRx[6] == 0x0e) {
|
||||
} else if (abtRx[6] == 0x0e) {
|
||||
printf("128 bytes\n");
|
||||
uiBlocks = 0x29;
|
||||
iEV1Type = EV1_UL21;
|
||||
iDumpSize = sizeof(mifareul_ev1_mf0ul21_tag);
|
||||
}
|
||||
else
|
||||
} else
|
||||
printf("unknown!\n");
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
// re-init non EV1 tag
|
||||
if (nfc_initiator_select_passive_target(pnd, nmMifare, (szUID) ? iUID : NULL, szUID, &nt) <= 0) {
|
||||
ERR("no tag was found\n");
|
||||
|
@ -629,8 +626,7 @@ main(int argc, const char *argv[])
|
|||
printf("\n");
|
||||
ERR("AUTH failed!\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
printf("Success - PACK: %02x%02x\n", abtRx[0], abtRx[1]);
|
||||
memcpy(iPACK, abtRx, 2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue