mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-18 03:00:58 +08:00
fix data dec
This commit is contained in:
parent
201797ef81
commit
8497b3e3f6
1 changed files with 4 additions and 4 deletions
|
@ -1035,12 +1035,12 @@ static int CmdDecimate(const char *Cmd) {
|
|||
CLIParserInit(&ctx, "data decimate",
|
||||
"Performs decimation, by reducing samples N times in the grapbuf. Good for PSK\n",
|
||||
"data decimate\n"
|
||||
"data decimate 4"
|
||||
"data decimate -n 4"
|
||||
);
|
||||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_int0(NULL, NULL, "<dec>", "factor to reduce sample set (default 2)"),
|
||||
arg_int0("n", NULL, "<dec>", "factor to reduce sample set (default 2)"),
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
|
@ -1067,12 +1067,12 @@ static int CmdUndecimate(const char *Cmd) {
|
|||
CLIParserInit(&ctx, "data undecimate",
|
||||
"Performs un-decimation, by repeating each sample N times in the graphbuf",
|
||||
"data undecimate\n"
|
||||
"data undecimate 4\n"
|
||||
"data undecimate -n 4\n"
|
||||
);
|
||||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_int0(NULL, NULL, "<dec>", "factor to repeat each sample (default 2)"),
|
||||
arg_int0("n", NULL, "<dec>", "factor to repeat each sample (default 2)"),
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue