Skip to content

Commit

Permalink
fix lf cotag reader , make the grid command use the new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Jul 17, 2023
1 parent 24938e3 commit 73eb8d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/src/cmdlfcotag.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ static int CmdCOTAGDemod(const char *Cmd) {

void *argtable[] = {
arg_param_begin,
arg_lit0("v", "verbose", "verbose output"),
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
bool verbose = arg_get_lit(ctx, 1);
CLIParserFree(ctx);
return demodCOTAG(true);
return demodCOTAG(verbose);
}

// When reading a COTAG.
Expand Down Expand Up @@ -152,7 +154,7 @@ static int CmdCOTAGReader(const char *Cmd) {
case 0:
case 2: {
CmdPlot("");
CmdGrid("384");
CmdGrid("-x 384");
getSamples(0, false);
break;
}
Expand Down

0 comments on commit 73eb8d0

Please sign in to comment.