From: Malte F. Hillmann Date: Wed, 27 Mar 2019 13:34:42 +0000 (+0100) Subject: fixed bug in ASKbiphaseDemod() X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/7361a18f7a24a7b0dd6e76919ef389202543cdc5?hp=-c fixed bug in ASKbiphaseDemod() --- 7361a18f7a24a7b0dd6e76919ef389202543cdc5 diff --git a/client/cmddata.c b/client/cmddata.c index fd31fac4..30148163 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -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];