FIX: time printing, like difftime in MINGW enviroments needs to use 32b time.
This commit is contained in:
1 parent
9ea10847ea
commit
be6e909c5b
5 files changed
+8
-4
No files matched your search
+2
-2
@@ -1230,10 +1230,10 @@ int CmdHF14AMfChk(const char *Cmd) {
|
||||
t1 = clock() - t1;
|
||||
time(&end);
|
||||
unsigned long elapsed_time = difftime(end, start);
|
||||
|
||||
if ( t1 > 0 )
|
||||
printf("\nTime in checkkeys: %.0f ticks %u seconds\n", (float)t1, elapsed_time);
|
||||
PrintAndLog("\nTime in checkkeys: %.0f ticks %u seconds\n", (float)t1, elapsed_time);
|
||||
|
||||
|
||||
// 20160116 If Sector A is found, but not Sector B, try just reading it of the tag?
|
||||
if ( keyType != 1 ) {
|
||||
PrintAndLog("testing to read key B...");
|
||||
|
||||
Reference in new issue
Block a user