X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3607b5a96a5b70e2e25356e0f6a1ad420ac02bfb..cb7902cdcd0d4f93857d4143abdf9a197ebdbc15:/client/cmdhftopaz.c?ds=sidebyside diff --git a/client/cmdhftopaz.c b/client/cmdhftopaz.c index b4e47482..2f9bc3dc 100644 --- a/client/cmdhftopaz.c +++ b/client/cmdhftopaz.c @@ -258,11 +258,15 @@ int CmdHFTopazReader(const char *Cmd) { uint8_t rid_response[8]; uint8_t *uid_echo = &rid_response[2]; uint8_t rall_response[130]; + bool verbose = TRUE; + + char ctmp = param_getchar(Cmd, 0); + if ( ctmp == 'S' || ctmp == 's') verbose = FALSE; status = topaz_select(atqa, rid_response); - + if (status == -1) { - PrintAndLog("Error: couldn't receive ATQA"); + if (verbose) PrintAndLog("Error: couldn't receive ATQA"); return -1; }