diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2011-10-13 07:09:33 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2011-10-13 07:09:33 +0000 |
commit | e8e06f81f986de8dc73d64e16524be1f8a42a3ba (patch) | |
tree | c54d115e24ed5f2d6f675e48a05c772118cdc3d2 | |
parent | 57304d1e0c56a3fa3a2e2867a7fce7e67607fbd5 (diff) | |
download | rockbox-e8e06f81f986de8dc73d64e16524be1f8a42a3ba.tar.gz rockbox-e8e06f81f986de8dc73d64e16524be1f8a42a3ba.zip |
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
-rw-r--r-- | firmware/target/arm/rk27xx/kernel-rk27xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/kernel-rk27xx.c b/firmware/target/arm/rk27xx/kernel-rk27xx.c index d54a09dd1f..54a2230384 100644 --- a/firmware/target/arm/rk27xx/kernel-rk27xx.c +++ b/firmware/target/arm/rk27xx/kernel-rk27xx.c | |||
@@ -39,7 +39,7 @@ void tick_start(unsigned int interval_in_ms) | |||
39 | unsigned int cycles = 50000 * interval_in_ms; | 39 | unsigned int cycles = 50000 * interval_in_ms; |
40 | 40 | ||
41 | /* enable timer clock */ | 41 | /* enable timer clock */ |
42 | SCU_CLKCFG &= (1<<28); | 42 | SCU_CLKCFG &= ~(1<<28); |
43 | 43 | ||
44 | /* configure timer0 */ | 44 | /* configure timer0 */ |
45 | TMR0LR = cycles; | 45 | TMR0LR = cycles; |