diff options
| author | shaojinchun <[email protected]> | 2019-10-12 11:11:44 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2019-10-12 11:11:44 +0800 |
| commit | fb4959bbbb5cc03dfe3e8fc761f160c7e1b08c16 (patch) | |
| tree | 84a97f4f6a712df6a81c998e29b0bc8abcd5eb7e | |
| parent | 234af6aaa2ec2fd5c8c758a8f9fa29553ddeaf3f (diff) | |
修正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); |
