mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix ats
This commit is contained in:
parent
0fe568970b
commit
4af367f66f
1 changed files with 3 additions and 3 deletions
|
@ -7865,11 +7865,11 @@ static int parse_gtu_cfg(uint8_t *d, size_t n) {
|
|||
|
||||
uint8_t atslen = d[7];
|
||||
if (atslen == 0) {
|
||||
PrintAndLogEx(INFO, "..............%02X ATS length %u bytes ( %s )", _YELLOW_("zero"), atslen);
|
||||
PrintAndLogEx(INFO, ".............. ATS length %u bytes ( %s )", _YELLOW_("zero"), atslen);
|
||||
} else if (atslen <= 16) {
|
||||
PrintAndLogEx(INFO, "..............%02X ATS length %u bytes ( %s )", _GREEN_("ok"), atslen);
|
||||
PrintAndLogEx(INFO, ".............. ATS length %u bytes ( %s )", _GREEN_("ok"), atslen);
|
||||
} else {
|
||||
PrintAndLogEx(INFO, "..............%02X ATS length %u bytes ( %s )", _RED_("fail"), atslen);
|
||||
PrintAndLogEx(INFO, ".............. ATS length %u bytes ( %s )", _RED_("fail"), atslen);
|
||||
atslen = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue