@marshmellow42 's fixes for pskdemod and mfu.
This commit is contained in:
iceman1001 2015-06-23 19:22:40 +02:00
commit 24344f28ad
3 changed files with 148 additions and 32 deletions

View file

@ -1556,7 +1556,7 @@ int PSKDemod(const char *Cmd, bool verbose)
clk=0;
}
if (invert != 0 && invert != 1) {
if (verbose) PrintAndLog("Invalid argument: %s", Cmd);
if (g_debugMode || verbose) PrintAndLog("Invalid argument: %s", Cmd);
return 0;
}
uint8_t BitStream[MAX_GRAPH_TRACE_LEN]={0};