mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
tuning
File List optimised.
This commit is contained in:
parent
600e5d7d6f
commit
dd09d4074c
2 changed files with 2 additions and 47 deletions
|
@ -827,51 +827,6 @@ static int setCmdSavePaths (const char *Cmd) {
|
||||||
showSavePathState(pathItem, prefShowNone);
|
showSavePathState(pathItem, prefShowNone);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
// Default
|
|
||||||
if (strncmp(strOpt, "default", 7) == 0) {
|
|
||||||
if (strcmp(newValue, session.defaultPaths[spDefault]) != 0) {
|
|
||||||
showSavePathState(spDefault, prefShowOLD);
|
|
||||||
setDefaultPath (spDefault, newValue);
|
|
||||||
// session.defaultPaths[spDefault] = (char *)realloc(session.defaultPaths[spDefault], strlen(newValue) + 1);
|
|
||||||
// strcpy (session.defaultPaths[spDefault],newValue);
|
|
||||||
showSavePathState(spDefault, prefShowNEW);
|
|
||||||
preferences_save();
|
|
||||||
} else {
|
|
||||||
PrintAndLogEx(INFO, "nothing changed");
|
|
||||||
showSavePathState(spDefault, prefShowNone);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Dump
|
|
||||||
if (strncmp(strOpt, "dump", 4) == 0) {
|
|
||||||
if (strcmp(newValue, session.defaultPaths[spDump]) != 0) {
|
|
||||||
showSavePathState(spDump, prefShowOLD);
|
|
||||||
setDefaultPath (spDump, newValue);
|
|
||||||
// session.defaultPaths[spDump] = (char *)realloc(session.defaultPaths[spDump], strlen(newValue) + 1);
|
|
||||||
// strcpy (session.defaultPaths[spDump],newValue);
|
|
||||||
showSavePathState(spDump, prefShowNEW);
|
|
||||||
preferences_save();
|
|
||||||
} else {
|
|
||||||
PrintAndLogEx(INFO, "nothing changed");
|
|
||||||
showSavePathState(spDump, prefShowNone);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Trace
|
|
||||||
if (strncmp(strOpt, "trace", 7) == 0) {
|
|
||||||
if (strcmp(newValue, session.defaultPaths[spTrace]) != 0) {
|
|
||||||
showSavePathState(spTrace, prefShowOLD);
|
|
||||||
setDefaultPath (spTrace, newValue);
|
|
||||||
// session.defaultPaths[spTrace] = (char *)realloc(session.defaultPaths[spTrace], strlen(newValue) + 1);
|
|
||||||
// strcpy (session.defaultPaths[spTrace],newValue);
|
|
||||||
showSavePathState(spTrace,prefShowNEW);
|
|
||||||
preferences_save();
|
|
||||||
} else {
|
|
||||||
PrintAndLogEx(INFO, "nothing changed");
|
|
||||||
showSavePathState(spTrace,prefShowNone);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return usage_set_savePaths();
|
return usage_set_savePaths();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue