X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/07c808038c48a74842290084d1217d6f69cbf18e..bb42a03ef1318442fa0e8e2e07c7dbf8bd49fc96:/client/graph.h?ds=inline diff --git a/client/graph.h b/client/graph.h index 1abeeb25..9817d776 100644 --- a/client/graph.h +++ b/client/graph.h @@ -20,8 +20,12 @@ int GetClock(const char *str, int peak, int verbose); int GetNRZpskClock(const char *str, int peak, int verbose); void setGraphBuf(uint8_t *buff, size_t size); -#define MAX_GRAPH_TRACE_LEN (1024*128) +bool HasGraphData(); +void DetectHighLowInGraph(int *high, int *low, bool addFuzz); + +// Max graph trace len: 40000 (bigbuf) * 8 (at 1 bit per sample) +#define MAX_GRAPH_TRACE_LEN (40000 * 8 ) + extern int GraphBuffer[MAX_GRAPH_TRACE_LEN]; extern int GraphTraceLen; - #endif