X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/aa9b584f5c3050e4f186f12c097219814422b19b..1ec412d97ddac6bd184c645815037e29fd84fb90:/client/graph.c diff --git a/client/graph.c b/client/graph.c index a0ba46d5..91fecff8 100644 --- a/client/graph.c +++ b/client/graph.c @@ -123,6 +123,11 @@ void DetectHighLowInGraph(int *high, int *low, bool addFuzz) { } } +void SetGraphClock( int clock, int startidx){ + PlotClock = clock; + PlockClockStartIndex = startidx; +} + // Get or auto-detect ask clock rate int GetAskClock(const char str[], bool printAns, bool verbose) { @@ -149,6 +154,7 @@ int GetAskClock(const char str[], bool printAns, bool verbose) // Only print this message if we're not looping something if (printAns) PrintAndLog("Auto-detected clock rate: %d, Best Starting Position: %d", clock, start); + SetGraphClock(clock, start); return clock; }