From 21e06301b9fe782fcfb7a250c2a42dbfc1a369f0 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 30 Jan 2015 09:26:03 +0100 Subject: [PATCH] Call to GetClock had wrong number of inparameters Added missing functions to header file --- client/cmddata.h | 3 +++ client/ui.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.2