fixing hf search loop and lessing the debug statements

This commit is contained in:
iceman1001 2022-07-07 23:43:45 +02:00
commit 11e097c1bb
2 changed files with 14 additions and 7 deletions

View file

@ -1865,14 +1865,18 @@ int iso14443b_select_xrx_card(iso14b_card_select_t *card) {
if (4 == slot) {
FpgaDisableTracing();
DbpString("no answer to anticollision");
if (g_dbglevel >= DBG_DEBUG) {
DbpString("no answer to anticollision");
}
return 1;
}
}
retlen = Get14443bAnswerFromTag(x_atqb, sizeof(x_atqb), iso14b_timeout, &eof_time);
Dbprintf("anticollision uid %llx", uid);
if (g_dbglevel >= DBG_DEBUG) {
Dbprintf("anticollision uid %llx", uid);
}
// ATQB too short?
if (retlen < 18) {