chg: skip printing debug statements when not debugging.

chg:  started with a coloring of messages.  Didn't work super well..
This commit is contained in:
iceman1001 2018-02-21 19:00:42 +01:00
commit d8281e69fd
2 changed files with 24 additions and 7 deletions

View file

@ -1283,7 +1283,7 @@ int CmdRawDemod(const char *Cmd)
void setClockGrid(int clk, int offset) {
g_DemodStartIdx = offset;
g_DemodClock = clk;
PrintAndLogEx(DEBUG, "DBEUG: (setClockGrid) demodoffset %d, clk %d",offset,clk);
PrintAndLogEx(DEBUG, "DEBUG: (setClockGrid) demodoffset %d, clk %d", offset, clk);
if (offset > clk) offset %= clk;
if (offset < 0) offset += clk;