mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
text
This commit is contained in:
parent
5060c9cf0d
commit
8990caca2a
1 changed files with 4 additions and 4 deletions
|
@ -1004,14 +1004,14 @@ static int CmdDecimate(const char *Cmd) {
|
||||||
|
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "data decimate",
|
CLIParserInit(&ctx, "data decimate",
|
||||||
"Decimate samples in the grapbuf. Good for PSK\n",
|
"Performs decimation, by reducing samples N times in the grapbuf. Good for PSK\n",
|
||||||
"data decimate\n"
|
"data decimate\n"
|
||||||
"data decimate 4"
|
"data decimate 4"
|
||||||
);
|
);
|
||||||
|
|
||||||
void *argtable[] = {
|
void *argtable[] = {
|
||||||
arg_param_begin,
|
arg_param_begin,
|
||||||
arg_int0(NULL, NULL, "<dec>", "number to decimate, 2,"),
|
arg_int0(NULL, NULL, "<dec>", "factor to reduce sample set (default 2)"),
|
||||||
arg_param_end
|
arg_param_end
|
||||||
};
|
};
|
||||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
@ -1036,14 +1036,14 @@ static int CmdDecimate(const char *Cmd) {
|
||||||
static int CmdUndecimate(const char *Cmd) {
|
static int CmdUndecimate(const char *Cmd) {
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "data undecimate",
|
CLIParserInit(&ctx, "data undecimate",
|
||||||
"This function performs un-decimation, by repeating each sample N times in the graphbuf",
|
"Performs un-decimation, by repeating each sample N times in the graphbuf",
|
||||||
"data undecimate\n"
|
"data undecimate\n"
|
||||||
"data undecimate 4\n"
|
"data undecimate 4\n"
|
||||||
);
|
);
|
||||||
|
|
||||||
void *argtable[] = {
|
void *argtable[] = {
|
||||||
arg_param_begin,
|
arg_param_begin,
|
||||||
arg_int0(NULL, NULL, "<dec>", "The number of times to repeat each sample (default 2)"),
|
arg_int0(NULL, NULL, "<dec>", "factor to repeat each sample (default 2)"),
|
||||||
arg_param_end
|
arg_param_end
|
||||||
};
|
};
|
||||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue