mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-14 19:24:10 +08:00
no fct call in macro, thanks @iceman1001
This commit is contained in:
parent
156c3a81e8
commit
159b90c002
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue