mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 12:59:44 -07:00
fix - some card cant reset so quick.
This commit is contained in:
parent
bdf96aae39
commit
22176dd661
1 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#include "emvcore.h"
|
#include "emvcore.h"
|
||||||
#include "emvjson.h"
|
#include "emvjson.h"
|
||||||
|
#include "util_posix.h"
|
||||||
|
|
||||||
// Got from here. Thanks)
|
// Got from here. Thanks)
|
||||||
// https://eftlab.co.uk/index.php/site-map/knowledge-base/211-emv-aid-rid-pix
|
// https://eftlab.co.uk/index.php/site-map/knowledge-base/211-emv-aid-rid-pix
|
||||||
|
@ -236,8 +237,10 @@ int EMVExchangeEx(bool ActivateField, bool LeaveFieldON, sAPDU apdu, bool Includ
|
||||||
if (sw) *sw = 0;
|
if (sw) *sw = 0;
|
||||||
uint16_t isw = 0;
|
uint16_t isw = 0;
|
||||||
|
|
||||||
if (ActivateField)
|
if (ActivateField){
|
||||||
DropField();
|
DropField();
|
||||||
|
msleep(50);
|
||||||
|
}
|
||||||
|
|
||||||
// COMPUTE APDU
|
// COMPUTE APDU
|
||||||
memcpy(data, &apdu, 5);
|
memcpy(data, &apdu, 5);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue