show both decimal and hex for iclass blocks

This commit is contained in:
tcprst 2020-11-25 18:42:22 -05:00
commit f4b100b068
No known key found for this signature in database
GPG key ID: 9145EAF5121AED25
2 changed files with 20 additions and 18 deletions

View file

@ -1999,10 +1999,10 @@ void iClass_Restore(iclass_restore_req_t *msg) {
// data + mac
if (iclass_writeblock_ext(item.blockno, item.data, mac, use_mac)) {
Dbprintf("Write block [%02d] " _GREEN_("successful"), item.blockno);
Dbprintf("Write block [%3d/0x%02X] " _GREEN_("successful"), item.blockno, item.blockno);
written++;
} else {
Dbprintf("Write block [%02d] " _RED_("failed"), item.blockno);
Dbprintf("Write block [%3d/0x%02X] " _RED_("failed"), item.blockno, item.blockno);
}
}