]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlffdx.c
speedup 'hf mf chk' (#901)
[proxmark3-svn] / client / cmdlffdx.c
index 2e2ee9fd3b373c30b7d811fcfb20adb6454866b6..d0ac52c0feb7e7078373f06743b999c334b36129 100644 (file)
@@ -13,7 +13,7 @@
 #include <stdio.h>
 #include <inttypes.h>
 #include <string.h>
-#include "proxmark3.h"
+#include "comms.h"
 #include "ui.h"         // for PrintAndLog
 #include "util.h"
 #include "cmdparser.h"
@@ -137,7 +137,7 @@ int CmdFdxDemod(const char *Cmd){
 
        //Differential Biphase / di-phase (inverted biphase)
        //get binary from ask wave
-       if (!ASKbiphaseDemod("0 32 1 0", false)) {
+       if (!ASKbiphaseDemod("0 32 1 100", false)) {
                if (g_debugMode) PrintAndLog("DEBUG: Error - FDX-B ASKbiphaseDemod failed");
                return 0;
        }
@@ -206,7 +206,7 @@ int CmdFdxDemod(const char *Cmd){
 }
 
 int CmdFdxRead(const char *Cmd) {
-       lf_read(true, 10000);
+       lf_read(true, 39999);
        return CmdFdxDemod(Cmd);
 }
 
Impressum, Datenschutz