]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ticks.h
CHG: 'lf em4x' - the em4x50 demod didn't calc ASKDemod_ext with a refenence bool.
[proxmark3-svn] / armsrc / ticks.h
index 17a9ff1805693330379ab817ab25f66e39e4b3df..8ad4bc679ad4bf516b56ff00b45c93c4ea0d24a7 100644 (file)
@@ -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
Impressum, Datenschutz