From c8c9a69e3e3d5115b8e16eccd066677fa63892b8 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 18 Mar 2019 16:59:21 +0100 Subject: [PATCH] unsigned value cant be less than zero --- client/cmdlf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdlf.c b/client/cmdlf.c index aa3501f6b..2932caaab 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -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;