mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
actually fix the list options
This commit is contained in:
parent
cd2c95251f
commit
470a0a5978
17 changed files with 55 additions and 18 deletions
|
@ -1342,9 +1342,11 @@ static int CmdHF15Dump(const char *Cmd) {
|
|||
}
|
||||
|
||||
static int CmdHF15List(const char *Cmd) {
|
||||
char args[128];
|
||||
char args[128] = {0};
|
||||
if (strlen(Cmd) == 0) {
|
||||
snprintf(args, sizeof(args), "-t 15");
|
||||
} else {
|
||||
strncpy(args, Cmd, sizeof(args) - 1);
|
||||
}
|
||||
return CmdTraceList(args);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue