CHG: added addresize to legic select struct.
CHG: TIMER, it turns out the TC0, TC1 and TC2 is only 16bit. So adjust to use two clocks to get a 32bit timer. CHG: code clean up in legic device side. consistency with variable names..
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include "proxmark3.h"
|
||||
|
||||
#ifndef GET_TICKS
|
||||
# define GET_TICKS AT91C_BASE_TC0->TC_CV
|
||||
# define GET_TICKS ((AT91C_BASE_TC1->TC_CV << 16) | AT91C_BASE_TC0->TC_CV)
|
||||
#endif
|
||||
|
||||
void SpinDelay(int ms);
|
||||
|
||||
Reference in New Issue
Block a user