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:
parent
d5758731bf
commit
03da54bde2
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void tick_start(unsigned int interval_in_ms)
|
|||
|
||||
/* configure timer for 10 kHz */
|
||||
TBCMD = (1 << 1); /* TB_CLR */
|
||||
TBPRE = 208 - 1; /* prescaler */
|
||||
TBPRE = 337 - 1; /* prescaler */
|
||||
TBCON = (0 << 13) | /* TB_INT1_EN */
|
||||
(1 << 12) | /* TB_INT0_EN */
|
||||
(0 << 11) | /* TB_START */
|
||||
|
|
Loading…
Reference in a new issue