X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2595390c6d97d373253f6397a167875f37a90454..refs/heads/graphwork:/client/graph.c diff --git a/client/graph.c b/client/graph.c index 94d6054f..94c65569 100644 --- a/client/graph.c +++ b/client/graph.c @@ -18,6 +18,9 @@ int GraphBuffer[MAX_GRAPH_TRACE_LEN]; int GraphTraceLen; +int s_Buff[MAX_GRAPH_TRACE_LEN]; + + /* write a bit to the graph */ void AppendGraph(int redraw, int clock, int bit) { @@ -76,6 +79,8 @@ size_t getFromGraphBuf(uint8_t *buff) } return i; } + + // Get or auto-detect clock rate int GetClock(const char *str, int peak, int verbose) { @@ -157,4 +162,4 @@ int GetNRZpskClock(const char *str, int peak, int verbose) } } return clock; -} \ No newline at end of file +}