]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fixed bug in ASKbiphaseDemod()
authorMalte F. Hillmann <info@maltehillmann.de>
Wed, 27 Mar 2019 13:34:42 +0000 (14:34 +0100)
committerMalte F. Hillmann <info@maltehillmann.de>
Wed, 27 Mar 2019 13:34:42 +0000 (14:34 +0100)
client/cmddata.c

index fd31fac4f017e28db06b5f33b2618b0db4ea61f6..30148163dcea7e774348a08558f3b3694e846929 100644 (file)
@@ -429,7 +429,7 @@ int CmdBiphaseDecodeRaw(const char *Cmd)
 int ASKbiphaseDemod(const char *Cmd, bool verbose)
 {
        //ask raw demod GraphBuffer first
-       int offset=0, clk=0, invert=0, maxErr=0;
+       int offset=0, clk=0, invert=0, maxErr=100;
        sscanf(Cmd, "%i %i %i %i", &offset, &clk, &invert, &maxErr);
 
        uint8_t BitStream[MAX_GRAPH_TRACE_LEN];   
Impressum, Datenschutz