]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ticks.h
ADD: "hf legic eload" - Load binary file to emulator memory. Use "h" for help text
[proxmark3-svn] / armsrc / ticks.h
index 17a9ff1805693330379ab817ab25f66e39e4b3df..1b05289df90591fb2d098b0fbc4db45064602972 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);
Impressum, Datenschutz