From 0c50084a2b7f5172796582441c3ce9204a752fc8 Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Mon, 15 Feb 2016 22:31:21 -0500 Subject: [PATCH] fix char* pointer not assigned fix --- client/cmddata.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cmddata.c b/client/cmddata.c index 55e2daca..f4e16175 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -919,7 +919,8 @@ int CmdDetectClockRate(const char *Cmd) char *GetFSKType(uint8_t fchigh, uint8_t fclow, uint8_t invert) { - char *fskType; + static char fType[8]; + char *fskType = fType; if (fchigh==10 && fclow==8){ if (invert) //fsk2a fskType = "FSK2a"; -- 2.39.2