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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user