]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/epa.c
Add clearCommandBuffer before SendCommand
[proxmark3-svn] / armsrc / epa.c
index bec79e61d075852c3d088c4667c21e8c97faf53d..0006d59d01c03fd4944caefef829771b1b8068fc 100644 (file)
@@ -257,9 +257,6 @@ void EPA_PACE_Collect_Nonce(UsbCommand *c)
                return;
        }
 
                return;
        }
 
-       // increase the timeout (at least some cards really do need this!)
-       iso14a_set_timeout(0x0002FFFF);
-       
        // read the CardAccess file
        // this array will hold the CardAccess file
        uint8_t card_access[256] = {0};
        // read the CardAccess file
        // this array will hold the CardAccess file
        uint8_t card_access[256] = {0};
@@ -426,8 +423,6 @@ int EPA_Setup()
        // power up the field
        iso14443a_setup(FPGA_HF_ISO14443A_READER_MOD);
 
        // power up the field
        iso14443a_setup(FPGA_HF_ISO14443A_READER_MOD);
 
-       iso14a_set_timeout(10500);
-       
        // select the card
        return_code = iso14443a_select_card(uid, &card_select_info, NULL);
        if (return_code != 1) {
        // select the card
        return_code = iso14443a_select_card(uid, &card_select_info, NULL);
        if (return_code != 1) {
Impressum, Datenschutz