adapt list command to allow for options

This commit is contained in:
iceman1001 committed 2020-10-09 20:19:36 +02:00
1 parent 627a361666
commit 64a44d1e85
16 files changed
+98 -56

No files matched your search

+5 -3
View File
@@ -269,9 +269,11 @@ static int usage_hf_14a_reader(void) {
}
static int CmdHF14AList(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
CmdTraceList("14a");
return 0;
char args[128];
if (strlen(Cmd) == 0) {
snprintf(args, sizeof(args), "-t 14a");
}
return CmdTraceList(args);
}
int hf14a_getconfig(hf14a_config *config) {