change mc1322x rtimers to 32-bit

hardcode a close default value for the RTC
This commit is contained in:
Mariano Alvira 2011-09-02 12:32:47 -04:00
parent c773920d6e
commit 6c0bbc492b
3 changed files with 10 additions and 1 deletions

View file

@ -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)