X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f885043422facc34eb6a5b3c3767f8ac25338157..cb7902cdcd0d4f93857d4143abdf9a197ebdbc15:/armsrc/ticks.c diff --git a/armsrc/ticks.c b/armsrc/ticks.c index 6f34fe14..555685cc 100644 --- a/armsrc/ticks.c +++ b/armsrc/ticks.c @@ -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) ; }