]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/mifarehost.c
removed -fPIC directive
[proxmark3-svn] / client / mifarehost.c
index 22b2a328fb476f824e417ffc3c1ebc2ce0e69d35..14674b1635d83de45902ebf3c62821440506fecf 100644 (file)
@@ -15,7 +15,6 @@
 #include "proxmark3.h"\r
 \r
 // MIFARE\r
 #include "proxmark3.h"\r
 \r
 // MIFARE\r
-\r
 int compar_int(const void * a, const void * b) {\r
        return (*(uint64_t*)b - *(uint64_t*)a);\r
 }\r
 int compar_int(const void * a, const void * b) {\r
        return (*(uint64_t*)b - *(uint64_t*)a);\r
 }\r
@@ -65,7 +64,7 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t * key, uint8_t trgBlockNo
        memset(resultKeys, 0x00, 16 * 6);\r
 \r
        // flush queue\r
        memset(resultKeys, 0x00, 16 * 6);\r
 \r
        // flush queue\r
-       while (!WaitForResponseTimeout(CMD_ACK,NULL,500));\r
+       WaitForResponseTimeout(CMD_ACK,NULL,100);\r
        \r
   UsbCommand c = {CMD_MIFARE_NESTED, {blockNo, keyType, trgBlockNo + trgKeyType * 0x100}};\r
        memcpy(c.d.asBytes, key, 6);\r
        \r
   UsbCommand c = {CMD_MIFARE_NESTED, {blockNo, keyType, trgBlockNo + trgKeyType * 0x100}};\r
        memcpy(c.d.asBytes, key, 6);\r
Impressum, Datenschutz