Use CmdTraceListAlias everywhere

This commit is contained in:
Philippe Teuwen committed 2021-04-19 21:43:32 +02:00
1 parent 2e925d5da3
commit dc54dd305b
18 files changed
+25 -116

No files matched your search

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