summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/timer-jz4760.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/timer-jz4760.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/timer-jz4760.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/timer-jz4760.c b/firmware/target/mips/ingenic_jz47xx/timer-jz4760.c
index 0f16825b34..b90dc8fcf0 100644
--- a/firmware/target/mips/ingenic_jz47xx/timer-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/timer-jz4760.c
@@ -78,10 +78,10 @@ bool timer_set(long cycles, bool start)
if(start)
{
system_enable_irq(IRQ_TCU1);
- __tcu_start_counter(5);
}
restore_irq(old_irq);
+ __tcu_start_counter(5);
return true;
}