From 1b48948486381cb559b0f9d7759bfcf4de2f78cc Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 18 Mar 2019 21:45:06 +0100 Subject: [PATCH] clear --- client/cmdlf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdlf.c b/client/cmdlf.c index 2932caaab..049edb824 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -471,7 +471,7 @@ int CmdLFfskSim(const char *Cmd) { cmdp += 2; break; case 's': - separator = 1; + separator = true; cmdp++; break; case 'd': @@ -519,7 +519,7 @@ int CmdLFfskSim(const char *Cmd) { uint16_t arg1, arg2; arg1 = fcHigh << 8 | fcLow; - arg2 = separator << 8 | clk; + arg2 = (separator << 8) | clk; size_t size = DemodBufferLen; if (size > USB_CMD_DATA_SIZE) { PrintAndLogEx(NORMAL, "DemodBuffer too long for current implementation - length: %d - max: %d", size, USB_CMD_DATA_SIZE);