no fct call in macro, thanks @iceman1001

This commit is contained in:
Philippe Teuwen 2019-10-03 21:54:45 +02:00
commit 156c3a81e8

View file

@ -224,7 +224,8 @@ int CmdLFTune(const char *Cmd) {
}
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;