projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: introduced a bug in a loop by uint8_t inside crapto1.c
[proxmark3-svn]
/
client
/
graph.c
diff --git
a/client/graph.c
b/client/graph.c
index 3bea788112ef3e2a4121ccaf69789d8c77c4588a..062798482821c0873df2db766e39e8413f22dd84 100644
(file)
--- a/
client/graph.c
+++ b/
client/graph.c
@@
-143,10
+143,10
@@
int GetAskClock(const char str[], bool printAns, bool verbose)
PrintAndLog("Failed to copy from graphbuffer");
return -1;
}
PrintAndLog("Failed to copy from graphbuffer");
return -1;
}
- DetectASKClock(grph, size, &clock, 20);
+
int start =
DetectASKClock(grph, size, &clock, 20);
// Only print this message if we're not looping something
if (printAns){
// Only print this message if we're not looping something
if (printAns){
- PrintAndLog("Auto-detected clock rate: %d
", clock
);
+ PrintAndLog("Auto-detected clock rate: %d
, Best Starting Position: %d", clock, start
);
}
return clock;
}
}
return clock;
}
Impressum
,
Datenschutz