mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -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;
|
||||
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 4"
|
||||
);
|
||||
|
||||
void *argtable[] = {
|
||||
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
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
|
@ -1036,14 +1036,14 @@ static int CmdDecimate(const char *Cmd) {
|
|||
static int CmdUndecimate(const char *Cmd) {
|
||||
CLIParserContext *ctx;
|
||||
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 4\n"
|
||||
);
|
||||
|
||||
void *argtable[] = {
|
||||
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
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue