printf remove
This commit is contained in:
@@ -909,7 +909,7 @@ static int CmdHF14BDump(const char *Cmd) {
|
|||||||
req[1] = blocknum;
|
req[1] = blocknum;
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandMIX(CMD_HF_ISO14443B_COMMAND, ISO14B_APPEND_CRC | ISO14B_RAW, 2, 0, req, sizeof(req));
|
SendCommandMIX(CMD_HF_ISO14443B_COMMAND, ISO14B_APPEND_CRC | ISO14B_RAW, 2, 0, req, sizeof(req));
|
||||||
|
|
||||||
if (WaitForResponseTimeout(CMD_HF_ISO14443B_COMMAND, &resp, 2000)) {
|
if (WaitForResponseTimeout(CMD_HF_ISO14443B_COMMAND, &resp, 2000)) {
|
||||||
|
|
||||||
@@ -940,17 +940,16 @@ static int CmdHF14BDump(const char *Cmd) {
|
|||||||
blocknum = 0xFF;
|
blocknum = 0xFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf(".");
|
PrintAndLogEx(NORMAL, "." NOLF);
|
||||||
fflush(stdout);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
PrintAndLogEx(NORMAL, "");
|
||||||
|
|
||||||
if (blocknum != 0xFF) {
|
if (blocknum != 0xFF) {
|
||||||
PrintAndLogEx(NORMAL, "\n Dump failed");
|
PrintAndLogEx(NORMAL, "Dump failed");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "");
|
|
||||||
PrintAndLogEx(NORMAL, "block# | data | ascii");
|
PrintAndLogEx(NORMAL, "block# | data | ascii");
|
||||||
PrintAndLogEx(NORMAL, "---------+--------------+----------");
|
PrintAndLogEx(NORMAL, "---------+--------------+----------");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user