mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
print..
This commit is contained in:
parent
b5500c3e54
commit
65a4253e7e
4 changed files with 8 additions and 12 deletions
|
@ -310,14 +310,14 @@ char *sprint_ascii(const uint8_t *data, const size_t len) {
|
|||
}
|
||||
|
||||
void print_blocks(uint32_t *data, size_t len) {
|
||||
PrintAndLog("Blk | Data ");
|
||||
PrintAndLog("----+------------");
|
||||
PrintAndLogEx(NORMAL, "Blk | Data ");
|
||||
PrintAndLogEx(NORMAL, "----+------------");
|
||||
|
||||
if ( !data ) {
|
||||
PrintAndLog("..empty data");
|
||||
PrintAndLogEx(ERR, "..empty data");
|
||||
} else {
|
||||
for (uint8_t i=0; i<len; i++)
|
||||
PrintAndLog(" %02d | 0x%08X", i, data[i]);
|
||||
PrintAndLogEx(NORMAL, "%02d | 0x%08X", i, data[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue