mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
rk27xx - fix sys timer clock setup. Spotted by Andrew Ryabinin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30745 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
57304d1e0c
commit
e8e06f81f9
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ void tick_start(unsigned int interval_in_ms)
|
|||
unsigned int cycles = 50000 * interval_in_ms;
|
||||
|
||||
/* enable timer clock */
|
||||
SCU_CLKCFG &= (1<<28);
|
||||
SCU_CLKCFG &= ~(1<<28);
|
||||
|
||||
/* configure timer0 */
|
||||
TMR0LR = cycles;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue