fix some strange behavior

This commit is contained in:
merlokk 2018-11-12 16:26:51 +02:00
parent 7820be1b8a
commit efa76c7be4

View file

@ -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);