dont mark crc byte everywhere in the alias list. have to set it for those commands that would benefit from it

This commit is contained in:
iceman1001 2023-07-30 17:17:08 +02:00
parent 6df79e3926
commit 0c98550177
4 changed files with 4 additions and 4 deletions

View file

@ -232,7 +232,7 @@ static uint8_t gs_frames_num = 0;
static uint16_t atsFSC[] = {16, 24, 32, 40, 48, 64, 96, 128, 256};
static int CmdHF14AList(const char *Cmd) {
return CmdTraceListAlias(Cmd, "hf 14a", "14a");
return CmdTraceListAlias(Cmd, "hf 14a", "14a -c");
}
int hf14a_getconfig(hf14a_config *config) {

View file

@ -6736,7 +6736,7 @@ static int CmdHFMFPersonalize(const char *Cmd) {
}
static int CmdHF14AMfList(const char *Cmd) {
return CmdTraceListAlias(Cmd, "hf mf", "mf");
return CmdTraceListAlias(Cmd, "hf mf", "mf -c");
}
static int CmdHf14AGen3UID(const char *Cmd) {

View file

@ -4673,7 +4673,7 @@ static int CmdHF14AMfuView(const char *Cmd) {
}
static int CmdHF14AMfuList(const char *Cmd) {
return CmdTraceListAlias(Cmd, "hf 14a", "14a");
return CmdTraceListAlias(Cmd, "hf 14a", "14a -c");
}

View file

@ -1176,7 +1176,7 @@ int CmdTraceListAlias(const char *Cmd, const char *alias, const char *protocol)
CLIParserFree(ctx);
char args[128] = {0};
snprintf(args, sizeof(args), "-c -t %s ", protocol);
snprintf(args, sizeof(args), "-t %s ", protocol);
strncat(args, Cmd, sizeof(args) - strlen(args) - 1);
return CmdTraceList(args);
}