mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
chg: hf thin info - honor verbose
This commit is contained in:
parent
290c6f6c31
commit
3a7a6cce38
1 changed files with 4 additions and 2 deletions
|
@ -155,10 +155,12 @@ int infoThinFilm(bool verbose) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (resp.status == PM3_SUCCESS) {
|
if (resp.status == PM3_SUCCESS) {
|
||||||
if (resp.length == 16 || resp.length == 32 || verbose) {
|
if (resp.length == 16 || resp.length == 32) {
|
||||||
print_barcode(resp.data.asBytes, resp.length, verbose);
|
print_barcode(resp.data.asBytes, resp.length, verbose);
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(WARNING, "Response is wrong length. (%d)", resp.length);
|
if (verbose)
|
||||||
|
PrintAndLogEx(WARNING, "Response is wrong length. (%d)", resp.length);
|
||||||
|
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue