forked from len0rd/rockbox
Minor tweak for plugin_register_timer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4573 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e7b2ed9c3e
commit
d501b90836
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ int plugin_register_timer(int cycles, int prio, void (*timer_callback)(void))
|
|||
|
||||
pfn_timer = timer_callback; /* install 2nd level ISR */
|
||||
|
||||
TSR4 &= ~0x01;
|
||||
and_b(~0x01, &TSR4);
|
||||
TIER4 = 0xF9; /* Enable GRA match interrupt */
|
||||
|
||||
GRA4 = (unsigned short)(cycles - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue