no fct call in macro, thanks @iceman1001

This commit is contained in:
Philippe Teuwen 2019-10-03 21:56:42 +02:00
parent 156c3a81e8
commit 159b90c002

View file

@ -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;