fix rare emv search behavior

This commit is contained in:
merlokk 2019-07-17 12:20:04 +03:00
parent 7c6facce94
commit 84022807a8

View file

@ -538,8 +538,8 @@ int EMVSearch(EMVCommandChannel channel, bool ActivateField, bool LeaveFieldON,
if (++retrycnt < 3) {
i--;
} else {
// (1) - card select error, proxmark error OR (200) - result length = 0
if (res == 1 || res == 200) {
// (1) - card select error, (4) reply timeout, (200) - result length = 0
if (res == 1 || res == 4 ||res == 200) {
if (!LeaveFieldON)
DropFieldEx(channel);