CHG: finally, the ticks timer does what it is supposed to do. 32bits and working.

This commit is contained in:
iceman1001 2016-09-29 21:36:43 +02:00
commit c649c43389
4 changed files with 21 additions and 19 deletions

View 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);