//--------------------------------------------------------------------------------
//Routines to support EMV transactions
//--------------------------------------------------------------------------------
-
-#include "mifare.h"
-#include "iso14443a.h"
-#include "emvutil.h"
#include "emvcmd.h"
-#include "apps.h"
-#include "emvdataels.h"
static emvtags currentcard; //use to hold emv tags for the reader/card during communications
static tUart Uart;
iso14443a_setup(FPGA_HF_ISO14443A_READER_LISTEN);
while(true) {
- if(!iso14443a_select_card(uid,NULL,&cuid)) {
+ if(!iso14443a_select_card(uid, NULL, &cuid, true, 0)) {
if(EMV_DBGLEVEL >= 1) Dbprintf("Can't select card");
break;
}