print..
This commit is contained in:
1 parent
b5500c3e54
commit
65a4253e7e
4 files changed
+8
-12
No files matched your search
+4
-4
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user