some lF commands demod got cliparser

This commit is contained in:
iceman1001 committed 2020-11-29 01:45:26 +01:00
1 parent 5dd8b3294a
commit 878170f2bd
6 files changed
+72 -6

No files matched your search

+12 -1
View File
@@ -178,7 +178,18 @@ int demodPyramid(bool verbose) {
}
static int CmdPyramidDemod(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
CLIParserContext *ctx;
CLIParserInit(&ctx, "lf pyramid demod",
"Try to find Farpoint/Pyramid preamble, if found decode / descramble data",
"lf pyramid demod"
);
void *argtable[] = {
arg_param_begin,
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
CLIParserFree(ctx);
return demodPyramid(true);
}