fix: wrong block

This commit is contained in:
iceman1001 2018-02-08 12:39:35 +01:00
parent 357cf59f1b
commit 39de74cb78

View file

@ -527,7 +527,8 @@ int HFiClassReader(const char *Cmd, bool loop, bool verbose) {
// no tag found or button pressed // no tag found or button pressed
if ( (readStatus == 0 && !loop) || readStatus == 0xFF) { if ( (readStatus == 0 && !loop) || readStatus == 0xFF) {
// abort // abort
if (verbose) PrintAndLog("[-] Quitting..."); { if (verbose) {
PrintAndLog("[-] Quitting...");
DropField(); DropField();
return 0; return 0;
} }
@ -553,7 +554,8 @@ int HFiClassReader(const char *Cmd, bool loop, bool verbose) {
return 1; return 1;
} }
} else { } else {
if (verbose) PrintAndLog("[!] command execute timeout"); if (verbose)
PrintAndLog("[!] command execute timeout");
} }
if (!loop) break; if (!loop) break;
} }