diff options
| author | SummerGift <[email protected]> | 2018-12-19 10:46:37 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2018-12-19 10:46:37 +0800 |
| commit | c4118f58324563f3aa95afa3e18e401a7f54156f (patch) | |
| tree | 834fd005c2f4799cb96b76653d69fc8c5a4ddfd6 /src | |
| parent | cf7292d4e4ebe5be08b6ffad5ebc3d023b568498 (diff) | |
| parent | bf62a7ffb7c90bbfd358b8b42c698b77d27e6bb0 (diff) | |
Merge remote-tracking branch 'remotes/gitlab/master' into add_stm32_new_framework
Diffstat (limited to 'src')
| -rw-r--r-- | src/scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scheduler.c b/src/scheduler.c index 503639fa81..cd66284c7a 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -612,7 +612,7 @@ void rt_schedule_insert_thread(struct rt_thread *thread) rt_list_insert_before(&(rt_thread_priority_table[thread->current_priority]), &(thread->tlist)); cpu_mask = RT_CPU_MASK ^ (1 << cpu_id); - rt_hw_ipi_send(RT_SCHEDULE_IPI_IRQ, cpu_mask); + rt_hw_ipi_send(RT_SCHEDULE_IPI, cpu_mask); } else { @@ -629,7 +629,7 @@ void rt_schedule_insert_thread(struct rt_thread *thread) if (cpu_id != bind_cpu) { cpu_mask = 1 << bind_cpu; - rt_hw_ipi_send(RT_SCHEDULE_IPI_IRQ, cpu_mask); + rt_hw_ipi_send(RT_SCHEDULE_IPI, cpu_mask); } } |
