mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-29 19:18:35 -07:00
clear char array with each call
This commit is contained in:
parent
0c50084a2b
commit
9e4cee22b7
1 changed files with 1 additions and 0 deletions
|
@ -920,6 +920,7 @@ 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)
|
||||||
{
|
{
|
||||||
static char fType[8];
|
static char fType[8];
|
||||||
|
memset(fType, 0x00, 8);
|
||||||
char *fskType = fType;
|
char *fskType = fType;
|
||||||
if (fchigh==10 && fclow==8){
|
if (fchigh==10 && fclow==8){
|
||||||
if (invert) //fsk2a
|
if (invert) //fsk2a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue