fix binary string printing. Making sure no left over data is in static array
This commit is contained in:
1 parent
62980b5038
commit
003623e5a7
3 files changed
+4
-2
No files matched your search
@@ -391,7 +391,7 @@ static int topaz_print_CC(uint8_t *data) {
|
||||
|
||||
PrintAndLogEx(SUCCESS, " %02X: Additional feature information", data[3]);
|
||||
PrintAndLogEx(SUCCESS, " ^^");
|
||||
PrintAndLogEx(SUCCESS, " 00000000");
|
||||
PrintAndLogEx(SUCCESS, " %s", sprint_bin(&data[3], 1));
|
||||
PrintAndLogEx(SUCCESS, " xxx..... - %02X: RFU ( %s )", msb3, (msb3 == 0) ? _GREEN_("ok") : _RED_("fail"));
|
||||
PrintAndLogEx(SUCCESS, " ...x.... - %02X: %s special frame", sf, (sf) ? "support" : "don\'t support");
|
||||
PrintAndLogEx(SUCCESS, " ....x... - %02X: %s lock block", lb, (lb) ? "support" : "don\'t support");
|
||||
|
||||
Reference in new issue
Block a user