refactor: lf config renames

This commit is contained in:
douniwan5788 committed 2024-08-27 23:45:42 +08:00
1 parent 94063607ae
commit 112caec054
7 files changed
+15 -16

No files matched your search

+2 -2
View File
@@ -114,7 +114,7 @@ static int lf_search_plus(const char *Cmd) {
d = config.divisor = default_divisor[i];
PrintAndLogEx(INFO, "--> trying ( " _GREEN_("%d.%02d kHz")" )", 12000 / (d + 1), ((1200000 + (d + 1) / 2) / (d + 1)) - ((12000 / (d + 1)) * 100));
retval = lf_config(&config);
retval = lf_setconfig(&config);
if (retval != PM3_SUCCESS)
break;
@@ -125,7 +125,7 @@ static int lf_search_plus(const char *Cmd) {
}
lf_config(&oldconfig);
lf_setconfig(&oldconfig);
return retval;
}