fix char* pointer not assigned

fix
This commit is contained in:
marshmellow42 2016-02-15 22:31:21 -05:00
commit 0c50084a2b

View file

@ -919,7 +919,8 @@ int CmdDetectClockRate(const char *Cmd)
char *GetFSKType(uint8_t fchigh, uint8_t fclow, uint8_t invert) 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 (fchigh==10 && fclow==8){
if (invert) //fsk2a if (invert) //fsk2a
fskType = "FSK2a"; fskType = "FSK2a";