X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/07c808038c48a74842290084d1217d6f69cbf18e..aabb719dc4e9af383e20c79647612755957bca00:/client/graph.h 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