X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fabef615ec2fbe1fbe4b69af9482931e781d8d08..84bdbc19174eaf54db337ef0470e35cf45dc8e9d:/armsrc/ticks.h diff --git a/armsrc/ticks.h b/armsrc/ticks.h index 17a9ff18..8ad4bc67 100644 --- a/armsrc/ticks.h +++ b/armsrc/ticks.h @@ -19,7 +19,7 @@ #include "proxmark3.h" #ifndef GET_TICKS -# define GET_TICKS ((AT91C_BASE_TC1->TC_CV << 16) | AT91C_BASE_TC0->TC_CV) +# define GET_TICKS (uint32_t)((AT91C_BASE_TC1->TC_CV << 16) | AT91C_BASE_TC0->TC_CV) #endif void SpinDelay(int ms); @@ -44,4 +44,5 @@ extern void WaitUS(uint16_t us); extern void WaitMS(uint16_t ms); extern void ResetTicks(); extern void ResetTimer(AT91PS_TC timer); +extern void StopTicks(void); #endif \ No newline at end of file