diff options
| author | Bernard Xiong <[email protected]> | 2019-11-12 22:47:18 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-12 22:47:18 +0800 |
| commit | da7751c044491b85e2c3f9eebdaa1c4e7e5d153b (patch) | |
| tree | f4dedd76c88102b66e0bb2e684b9af4fb2c6f99b /bsp/qemu-vexpress-a9 | |
| parent | e8a864c7c871d3c5b166fd671805bec0a386fe03 (diff) | |
| parent | e03ac83ad3d22c578e367550d2ff714b53e79799 (diff) | |
Merge pull request #3129 from jesven/fix_same_prio
修正相同优先级任务切换太频繁的问题
Diffstat (limited to 'bsp/qemu-vexpress-a9')
| -rw-r--r-- | bsp/qemu-vexpress-a9/drivers/secondary_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c b/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c index 9221ecee87..3b0428859f 100644 --- a/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c +++ b/bsp/qemu-vexpress-a9/drivers/secondary_cpu.c @@ -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); |
