]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/epa.c
fixing scripts/tnp3.lua
[proxmark3-svn] / armsrc / epa.c
index 1300b5157da59a519e37f963f1f92ddb2b0ee2a8..69599dc9fd8460bcbdb5fba67b3f24f3e85b46b7 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "iso14443a.h"
 #include "epa.h"
 
 #include "iso14443a.h"
 #include "epa.h"
-#include "cmd.h"
+#include "../common/cmd.h"
 
 // Protocol and Parameter Selection Request
 // use regular (1x) speed in both directions
 
 // Protocol and Parameter Selection Request
 // use regular (1x) speed in both directions
@@ -419,11 +419,11 @@ int EPA_Setup()
        // return code
        int return_code = 0;
        // card UID
        // return code
        int return_code = 0;
        // card UID
-       uint8_t uid[8];
+       uint8_t uid[10];
        // 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);
Impressum, Datenschutz