From fb665ea7e38a1896cfbc8fab0d4d0c5a8086f247 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 26 Mar 2019 20:22:39 +0100 Subject: [PATCH] chg: textual --- client/cmddata.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/cmddata.c b/client/cmddata.c index 9462fc510..146d30ba7 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -1317,7 +1317,10 @@ int CmdRawDemod(const char *Cmd) { void setClockGrid(int clk, int offset) { g_DemodStartIdx = offset; g_DemodClock = clk; - PrintAndLogEx(DEBUG, "DEBUG: (setClockGrid) demodoffset %d, clk %d", offset, clk); + if ( clk == 0 && offset == 0) + PrintAndLogEx(DEBUG, "DEBUG: (setClockGrid) clear settings"); + else + PrintAndLogEx(DEBUG, "DEBUG: (setClockGrid) demodoffset %d, clk %d", offset, clk); if (offset > clk) offset %= clk; if (offset < 0) offset += clk;