mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
jz4740: Timer not re-enabled properly
(same fix as g#2703 for the jz4760) Change-Id: Ic6467d9e6085e3057528b6d1a08b7c07e9dceab4
This commit is contained in:
parent
77019c2c3c
commit
4a6d8e91bb
1 changed files with 3 additions and 3 deletions
|
|
@ -78,10 +78,10 @@ bool timer_set(long cycles, bool start)
|
|||
if(start)
|
||||
{
|
||||
system_enable_irq(IRQ_TCU1);
|
||||
__tcu_start_counter(1);
|
||||
}
|
||||
|
||||
restore_irq(old_irq);
|
||||
__tcu_start_counter(1);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue