FIX: adding a silent mode for Topaz detection.

FIX: adding a silent mode for 14B detection.
This commit is contained in:
iceman1001 committed 2016-03-06 13:21:42 +01:00
1 parent 3607b5a96a
commit 1f3d5401a6
3 files changed
+43 -37

No files matched your search

+6 -2
View File
@@ -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;
}