]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/graph.c
split lf indala[cmd] to lf indala [cmd]
[proxmark3-svn] / client / graph.c
index f40f093a38f4996f21e1b02f3393488932bfb59f..995a32da6a451cba3e57eb34ec8503f98c15c213 100644 (file)
@@ -218,7 +218,8 @@ uint8_t GetNrzClock(const char str[], bool printAns, bool verbose)
                        PrintAndLog("Failed to copy from graphbuffer");
                return -1;
        }
                        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);
        // Only print this message if we're not looping something
        if (printAns){
                PrintAndLog("Auto-detected clock rate: %d", clock);
Impressum, Datenschutz