mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-11 06:05:21 -05:00
Don't forget to fix these too...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20419 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
280df99c90
commit
d63a8fcb7b
1 changed files with 4 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ bool __timer_set(long cycles, bool start)
|
||||||
system_enable_irq(IRQ_TCU1);
|
system_enable_irq(IRQ_TCU1);
|
||||||
|
|
||||||
restore_irq(old_irq);
|
restore_irq(old_irq);
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool __timer_register(void)
|
bool __timer_register(void)
|
||||||
|
|
@ -80,6 +82,8 @@ bool __timer_register(void)
|
||||||
__tcu_start_counter(1);
|
__tcu_start_counter(1);
|
||||||
|
|
||||||
restore_irq(old_irq);
|
restore_irq(old_irq);
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __timer_unregister(void)
|
void __timer_unregister(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue