]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/epa.c
CHG: added timeouts for downloading values from device, to make the client more respo...
[proxmark3-svn] / armsrc / epa.c
index 737e633fcbb516c394d9ef1b1f801146cbec7e78..3b4e341aa5d949f08b12b467e6ff2daee0bfed52 100644 (file)
@@ -102,7 +102,7 @@ static struct {
 static uint8_t apdu_lengths_replay[5];
 
 // type of card (ISO 14443 A or B)
-static char iso_type = 0;
+static char iso_type;
 
 //-----------------------------------------------------------------------------
 // Wrapper for sending APDUs to type A and B cards
@@ -529,7 +529,7 @@ int EPA_Setup()
        // power up the field
        iso14443a_setup(FPGA_HF_ISO14443A_READER_MOD);
        // select the card
-       return_code = iso14443a_select_card(uid, &card_select_info, NULL);
+       return_code = iso14443a_select_card(uid, &card_select_info, NULL, true, 0);
        if (return_code == 1) {
        // send the PPS request
        ReaderTransmit((uint8_t *)pps, sizeof(pps), NULL);
Impressum, Datenschutz