X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b8fdac9e6fedfda5e291e437766ed46e3caf7c32..refs/heads/graphwork2:/client/proxgui.h diff --git a/client/proxgui.h b/client/proxgui.h index a6d8f24a..74c5063c 100644 --- a/client/proxgui.h +++ b/client/proxgui.h @@ -34,15 +34,20 @@ extern int offline; extern bool GridLocked; //Operations defined in data_operations -extern int autoCorr(const int* in, int *out, size_t len, int window); +//extern int autoCorr(const int* in, int *out, size_t len, int window); +extern int AskEdgeDetect(const int *in, int *out, int len, int threshold); +extern int AutoCorrelate(const int *in, int *out, size_t len, int window, bool SaveGrph, bool verbose); extern int directionalThreshold(const int* in, int *out, size_t len, int8_t up, int8_t down); extern void save_restoreGB(uint8_t saveOpt); +#define GRAPH_SAVE 1 +#define GRAPH_RESTORE 0 #define MAX_DEMOD_BUF_LEN (1024*128) extern uint8_t DemodBuffer[MAX_DEMOD_BUF_LEN]; extern size_t DemodBufferLen; extern size_t g_DemodStartIdx; extern bool showDemod; +extern uint8_t g_debugMode; #ifdef __cplusplus }