mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Use more defines when using main clock or master clock
This commit is contained in:
parent
2cbe43f269
commit
8b3159c83d
6 changed files with 11 additions and 8 deletions
|
@ -17,6 +17,10 @@
|
|||
#include "pm3_cmd.h"
|
||||
#include "common.h"
|
||||
|
||||
// Check bootrom.c for actual clock settings
|
||||
#define MAINCK 16000000
|
||||
#define MCK (4 * MAINCK)
|
||||
|
||||
#define WDT_HIT() AT91C_BASE_WDTC->WDTC_WDCR = 0xa5000001
|
||||
|
||||
#define PWM_CH_MODE_PRESCALER(x) ((x) << 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue