mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg: rename variable
This commit is contained in:
parent
43c399876f
commit
1fff6ae09a
1 changed files with 4 additions and 4 deletions
|
@ -111,14 +111,14 @@ int GetAskClock(const char *str, bool printAns) {
|
||||||
|
|
||||||
size_t ststart = 0, stend = 0;
|
size_t ststart = 0, stend = 0;
|
||||||
bool st = DetectST(bits, &size, &clock, &ststart, &stend);
|
bool st = DetectST(bits, &size, &clock, &ststart, &stend);
|
||||||
int start = stend;
|
int idx = stend;
|
||||||
if (st == false) {
|
if (st == false) {
|
||||||
start = DetectASKClock(bits, size, &clock, 20);
|
idx = DetectASKClock(bits, size, &clock, 20);
|
||||||
}
|
}
|
||||||
setClockGrid(clock, start);
|
setClockGrid(clock, idx);
|
||||||
// Only print this message if we're not looping something
|
// Only print this message if we're not looping something
|
||||||
if (printAns || g_debugMode)
|
if (printAns || g_debugMode)
|
||||||
PrintAndLogEx(NORMAL, "Auto-detected clock rate: %d, Best Starting Position: %d", clock, start);
|
PrintAndLogEx(NORMAL, "Auto-detected clock rate: %d, Best Starting Position: %d", clock, idx);
|
||||||
|
|
||||||
return clock;
|
return clock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue