Merge pull request #3129 from jesven/fix_same_prio

修正相同优先级任务切换太频繁的问题
This commit is contained in:
Bernard Xiong
2019-11-12 22:47:18 +08:00
committed by GitHub
4 changed files with 22 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ void secondary_cpu_c_start(void)
arm_gic_cpu_init(0, REALVIEW_GIC_CPU_BASE);
arm_gic_set_cpu(0, IRQ_PBA8_TIMER0_1, 0x2);
timer_init(0, 1000);
timer_init(0, 10000);
rt_hw_interrupt_install(IRQ_PBA8_TIMER0_1, rt_hw_timer2_isr, RT_NULL, "tick");
rt_hw_interrupt_umask(IRQ_PBA8_TIMER0_1);