unsigned value cant be less than zero

This commit is contained in:
iceman1001 2019-03-18 16:59:21 +01:00
parent 2a6be74fd1
commit c8c9a69e3e

View file

@ -707,7 +707,7 @@ int CmdLFpskSim(const char *Cmd) {
setDemodBuf(data, dataLen, 0);
}
if (clk <= 0) clk = 32;
if (clk == 0) clk = 32;
if (carrier != 2 && carrier != 4 && carrier != 8)
carrier = 2;