mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
data plot, hide, now uses cliparser
This commit is contained in:
parent
52b4677036
commit
d3f093ca4a
1 changed files with 13 additions and 2 deletions
|
@ -1542,7 +1542,17 @@ static int CmdHexsamples(const char *Cmd) {
|
|||
}
|
||||
|
||||
static int CmdHide(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
CLIParserContext *ctx;
|
||||
CLIParserInit(&ctx, "data hide",
|
||||
"Show graph window",
|
||||
"data hide"
|
||||
);
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
CLIParserFree(ctx);
|
||||
HideGraphWindow();
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
@ -1686,7 +1696,8 @@ int CmdTuneSamples(const char *Cmd) {
|
|||
|
||||
int timeout = 0;
|
||||
int timeout_max = 20;
|
||||
PrintAndLogEx(INFO, "Reminder: `" _YELLOW_("hw tune") "` doesn't actively tune your antennas,");
|
||||
PrintAndLogEx(INFO, "---------- " _CYAN_("Reminder") " ------------------------");
|
||||
PrintAndLogEx(INFO, "`" _YELLOW_("hw tune") "` doesn't actively tune your antennas,");
|
||||
PrintAndLogEx(INFO, "it's only informative.");
|
||||
PrintAndLogEx(INFO, "Measuring antenna characteristics, please wait...");
|
||||
|
||||
|
|
Loading…
Reference in a new issue