mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-04 07:11:10 +08:00
unsigned value cant be less than zero
This commit is contained in:
parent
2a6be74fd1
commit
c8c9a69e3e
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ int CmdLFpskSim(const char *Cmd) {
|
||||||
setDemodBuf(data, dataLen, 0);
|
setDemodBuf(data, dataLen, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (clk <= 0) clk = 32;
|
if (clk == 0) clk = 32;
|
||||||
|
|
||||||
if (carrier != 2 && carrier != 4 && carrier != 8)
|
if (carrier != 2 && carrier != 4 && carrier != 8)
|
||||||
carrier = 2;
|
carrier = 2;
|
||||||
|
|
Loading…
Reference in a new issue