mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 23:36:31 +08:00
fix lf cotag reader , make the grid command use the new syntax
This commit is contained in:
parent
24938e3ed5
commit
73eb8d0de0
|
@ -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.
|
||||
|
@ -152,7 +154,7 @@ static int CmdCOTAGReader(const char *Cmd) {
|
|||
case 0:
|
||||
case 2: {
|
||||
CmdPlot("");
|
||||
CmdGrid("384");
|
||||
CmdGrid("-x 384");
|
||||
getSamples(0, false);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue