mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg some printing of blocks
This commit is contained in:
parent
a933eb4f9e
commit
19bdfd2577
2 changed files with 7 additions and 7 deletions
|
@ -383,14 +383,14 @@ char *sprint_ascii(const uint8_t *data, const size_t len) {
|
|||
}
|
||||
|
||||
void print_blocks(uint32_t *data, size_t len) {
|
||||
PrintAndLogEx(NORMAL, "Blk | Data ");
|
||||
PrintAndLogEx(NORMAL, "----+------------");
|
||||
PrintAndLogEx(SUCCESS, "Blk | Data ");
|
||||
PrintAndLogEx(SUCCESS, "----+------------");
|
||||
|
||||
if (!data) {
|
||||
PrintAndLogEx(ERR, "..empty data");
|
||||
} else {
|
||||
for (uint8_t i = 0; i < len; i++)
|
||||
PrintAndLogEx(NORMAL, "%02d | 0x%08X", i, data[i]);
|
||||
PrintAndLogEx(SUCCESS, " %02d | 0x%08X", i, data[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue