mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
FIX: time printing, like difftime in MINGW enviroments needs to use 32b time.
This commit is contained in:
parent
9ea10847ea
commit
be6e909c5b
5 changed files with 8 additions and 4 deletions
|
@ -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...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue