From b362de62621f17b297f08bd53082b3aea45219e6 Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Sat, 11 Jul 2015 00:35:27 -0400 Subject: [PATCH] initialize global variables. --- client/cmddata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmddata.c b/client/cmddata.c index bf10a6ec..cb1c7cd4 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -26,8 +26,8 @@ #include "crc16.h" uint8_t DemodBuffer[MAX_DEMOD_BUF_LEN]; -uint8_t g_debugMode; -size_t DemodBufferLen; +uint8_t g_debugMode=0; +size_t DemodBufferLen=0; static int CmdHelp(const char *Cmd); //set the demod buffer with given array of binary (one bit per byte) -- 2.39.5