From: iceman1001 Date: Fri, 30 Jan 2015 08:26:03 +0000 (+0100) Subject: Call to GetClock had wrong number of inparameters X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/21e06301b9fe782fcfb7a250c2a42dbfc1a369f0?hp=-c Call to GetClock had wrong number of inparameters Added missing functions to header file --- 21e06301b9fe782fcfb7a250c2a42dbfc1a369f0 diff --git a/client/cmddata.h b/client/cmddata.h index 514be3a2..a858843e 100644 --- a/client/cmddata.h +++ b/client/cmddata.h @@ -14,7 +14,9 @@ command_t * CmdDataCommands(); int CmdData(const char *Cmd); +void setDemodBuf(uint8_t *buff, size_t size, size_t startIdx); void printDemodBuff(); +void printBitStream(uint8_t BitStream[], uint32_t bitLen); int CmdAmp(const char *Cmd); int Cmdaskdemod(const char *Cmd); int Cmdaskrawdemod(const char *Cmd); @@ -60,6 +62,7 @@ int CmdIndalaDecode(const char *Cmd); extern uint8_t DemodBuffer[MAX_DEMOD_BUF_LEN]; extern int DemodBufferLen; +extern uint8_t g_debugMode; #define BIGBUF_SIZE 40000 #endif diff --git a/client/ui.c b/client/ui.c index e464a533..b31f1ead 100644 --- a/client/ui.c +++ b/client/ui.c @@ -108,7 +108,7 @@ int manchester_decode( int * data, const size_t len, uint8_t * dataout, size_t DetectHighLowInGraph(&high, &low, TRUE); /* get clock */ - clock = GetClock("", 0); + clock = GetClock("",0, 0); startindex = DetectFirstTransition(data, len, high);