Use CmdTraceListAlias everywhere
This commit is contained in:
@@ -42,13 +42,7 @@ static int switch_off_field_cryptorf(void) {
|
||||
}
|
||||
|
||||
static int CmdHFCryptoRFList(const char *Cmd) {
|
||||
char args[128] = {0};
|
||||
if (strlen(Cmd) == 0) {
|
||||
snprintf(args, sizeof(args), "-t cryptorf");
|
||||
} else {
|
||||
strncpy(args, Cmd, sizeof(args) - 1);
|
||||
}
|
||||
return CmdTraceList(args);
|
||||
return CmdTraceListAlias(Cmd, "hf cryptorf", "cryptorf");
|
||||
}
|
||||
|
||||
static int CmdHFCryptoRFSim(const char *Cmd) {
|
||||
|
||||
Reference in New Issue
Block a user