]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fix missing header 253/head
authormarshmellow42 <marshmellowrf@gmail.com>
Sun, 26 Mar 2017 17:34:38 +0000 (13:34 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Sun, 26 Mar 2017 17:34:38 +0000 (13:34 -0400)
http://www.proxmark.org/forum/viewtopic.php?pid=26786#p26786

client/cmdlffdx.c

index 69c3c4830b49c5979b72a94541d2ca122bb8f324..a603a4d27bd8f52e200d80d40829169b5d4dad1a 100644 (file)
@@ -9,7 +9,9 @@
 
 #include "cmdlffdx.h"
 
+#include <stdio.h>
 #include <inttypes.h>
+#include <string.h>
 #include "proxmark3.h"
 #include "ui.h"         // for PrintAndLog
 #include "util.h"
@@ -134,7 +136,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 0", false)) {
                if (g_debugMode) PrintAndLog("DEBUG: Error - FDX-B ASKbiphaseDemod failed");
                return 0;
        }
@@ -202,7 +204,7 @@ int CmdFdxDemod(const char *Cmd){
 
 int CmdFdxRead(const char *Cmd) {
        CmdLFRead("s");
-       getSamples("10000", TRUE);
+       getSamples("10000", true);
        return CmdFdxDemod(Cmd);
 }
 
Impressum, Datenschutz