no fct call in macro, thanks @iceman1001
This commit is contained in:
@@ -482,7 +482,8 @@ int CmdLFSetConfig(const char *Cmd) {
|
||||
cmdp += 2;
|
||||
break;
|
||||
case 'f': {
|
||||
divisor = LF_DIVISOR(param_get32ex(Cmd, cmdp + 1, 125, 10));
|
||||
int freq = param_get32ex(Cmd, cmdp + 1, 125, 10);
|
||||
divisor = LF_DIVISOR(freq);
|
||||
if (divisor < 19) {
|
||||
PrintAndLogEx(ERR, "freq must be between 47 and 600");
|
||||
return PM3_EINVARG;
|
||||
|
||||
Reference in New Issue
Block a user