X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2d99d9912c430b09c8178c9154a44a99e7ee6561..refs/pull/248/head:/client/graph.c?ds=sidebyside diff --git a/client/graph.c b/client/graph.c index f40f093a..995a32da 100644 --- a/client/graph.c +++ b/client/graph.c @@ -218,7 +218,8 @@ uint8_t GetNrzClock(const char str[], bool printAns, bool verbose) PrintAndLog("Failed to copy from graphbuffer"); return -1; } - clock = DetectNRZClock(grph, size, 0); + size_t clkStartIdx = 0; + clock = DetectNRZClock(grph, size, 0, &clkStartIdx); // Only print this message if we're not looping something if (printAns){ PrintAndLog("Auto-detected clock rate: %d", clock);