From efa76c7be40299fe03ca6c1f05b5932f1564ab9d Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Mon, 12 Nov 2018 16:26:51 +0200 Subject: [PATCH] fix some strange behavior --- client/emv/emvcore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/emv/emvcore.c b/client/emv/emvcore.c index c5ffb0483..b7d7df923 100644 --- a/client/emv/emvcore.c +++ b/client/emv/emvcore.c @@ -228,8 +228,10 @@ int EMVExchangeEx(bool ActivateField, bool LeaveFieldON, sAPDU apdu, bool Includ if (sw) *sw = 0; uint16_t isw = 0; - if (ActivateField) + if (ActivateField) { DropField(); + msleep(50); + } // COMPUTE APDU memcpy(data, &apdu, 5);