From 1fff6ae09a5a6b07b799d0c000ba73ccd4e03954 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 12 Sep 2018 08:01:35 +0200 Subject: [PATCH] chg: rename variable --- client/graph.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/graph.c b/client/graph.c index 2d6a28233..4346a8040 100644 --- a/client/graph.c +++ b/client/graph.c @@ -111,14 +111,14 @@ int GetAskClock(const char *str, bool printAns) { size_t ststart = 0, stend = 0; bool st = DetectST(bits, &size, &clock, &ststart, &stend); - int start = stend; + int idx = stend; 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 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; }