]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/epa.c
Various scripts from iceman
[proxmark3-svn] / armsrc / epa.c
index 73c3a7555077c997bf14b50cc336fc4375d5a3cb..b0ae5e0d02eb8fb4d1875ce03b329f492b523f84 100644 (file)
@@ -423,7 +423,7 @@ int EPA_Setup()
        // card select information
        iso14a_card_select_t card_select_info;
        // power up the field
        // card select information
        iso14a_card_select_t card_select_info;
        // power up the field
-       iso14443a_setup();
+       iso14443a_setup(FPGA_HF_ISO14443A_READER_MOD);
 
        // select the card
        return_code = iso14443a_select_card(uid, &card_select_info, NULL);
 
        // select the card
        return_code = iso14443a_select_card(uid, &card_select_info, NULL);
@@ -432,7 +432,7 @@ int EPA_Setup()
        }
 
        // send the PPS request
        }
 
        // send the PPS request
-       ReaderTransmit((uint8_t *)pps, sizeof(pps));
+       ReaderTransmit((uint8_t *)pps, sizeof(pps), NULL);
        uint8_t pps_response[3];
        return_code = ReaderReceive(pps_response);
        if (return_code != 3 || pps_response[0] != 0xD0) {
        uint8_t pps_response[3];
        return_code = ReaderReceive(pps_response);
        if (return_code != 3 || pps_response[0] != 0xD0) {
Impressum, Datenschutz