actually fix the list options

This commit is contained in:
iceman1001 committed 2020-10-09 20:46:48 +02:00
1 parent cd2c95251f
commit 470a0a5978
17 files changed
+55 -18

No files matched your search

+3 -1
View File
@@ -116,9 +116,11 @@ static bool wait_cmd_14b(bool verbose, bool is_select) {
}
static int CmdHF14BList(const char *Cmd) {
char args[128];
char args[128] = {0};
if (strlen(Cmd) == 0) {
snprintf(args, sizeof(args), "-t 14b");
} else {
strncpy(args, Cmd, sizeof(args) - 1);
}
return CmdTraceList(args);
}