change mc1322x rtimers to 32-bit
hardcode a close default value for the RTC
This commit is contained in:
parent
c773920d6e
commit
6c0bbc492b
3 changed files with 10 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
|||
#if USE_32KHZ_XTAL
|
||||
#define RTIMER_ARCH_SECOND 32768
|
||||
#else
|
||||
#define RTIMER_ARCH_SECOND 2000 /* bogus value --- you should set xmac_config after calibration */
|
||||
#define RTIMER_ARCH_SECOND 18778 /* close --- should get calibrated */
|
||||
#endif
|
||||
|
||||
#define rtimer_arch_now() (*CRM_RTC_COUNT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue