Fix iPod Classic tick timer (still not 100% calibrated, but close enough for now)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28988 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sparmann 2011-01-07 12:26:25 +00:00
parent d5758731bf
commit 03da54bde2

View file

@ -41,7 +41,7 @@ void tick_start(unsigned int interval_in_ms)
/* configure timer for 10 kHz */ /* configure timer for 10 kHz */
TBCMD = (1 << 1); /* TB_CLR */ TBCMD = (1 << 1); /* TB_CLR */
TBPRE = 208 - 1; /* prescaler */ TBPRE = 337 - 1; /* prescaler */
TBCON = (0 << 13) | /* TB_INT1_EN */ TBCON = (0 << 13) | /* TB_INT1_EN */
(1 << 12) | /* TB_INT0_EN */ (1 << 12) | /* TB_INT0_EN */
(0 << 11) | /* TB_START */ (0 << 11) | /* TB_START */