]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ticks.c
CHG: 'hf list legic' doesn't print the parity now.
[proxmark3-svn] / armsrc / ticks.c
index 6f34fe14f67fb35249fafa376ee40166f082ef65..555685cc2550d7318774cbc6bacfdd861154eab6 100644 (file)
@@ -8,7 +8,6 @@
 //-----------------------------------------------------------------------------
 // Timers, Clocks functions used in LF or Legic where you would need detailed time.
 //-----------------------------------------------------------------------------
-
 #include "ticks.h"
 
 // attempt at high resolution microsecond timer
@@ -211,5 +210,5 @@ void ResetTicks(){
 }
 void ResetTimer(AT91PS_TC timer){
        timer->TC_CCR = AT91C_TC_CLKEN | AT91C_TC_SWTRG;
-       while(timer->TC_CV > 1) ;
+       while(timer->TC_CV >= 1) ;
 }
Impressum, Datenschutz