fix: bad check

This commit is contained in:
iceman1001 2019-02-24 19:50:05 +01:00
parent aaac99fdee
commit a49b3763dd

View file

@ -283,7 +283,7 @@ static bool get_14b_UID(iso14b_card_select_t *card) {
}
} // retry
if ( !retry )
if ( retry <= 0 )
PrintAndLogEx(WARNING, "timeout while waiting for reply.");
return false;