mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:07:18 +08:00
[simulator] 修复函数定义不一致
This commit is contained in:
parent
c0a5129ed4
commit
c7be260665
@ -394,8 +394,7 @@ void rt_hw_context_switch(rt_ubase_t from,
|
||||
pthread_mutex_unlock(ptr_int_mutex);
|
||||
}
|
||||
|
||||
void rt_hw_context_switch_interrupt(rt_ubase_t from,
|
||||
rt_ubase_t to)
|
||||
void rt_hw_context_switch_interrupt(rt_ubase_t from, rt_ubase_t to, rt_thread_t from_thread, rt_thread_t to_thread)
|
||||
{
|
||||
rt_hw_context_switch(from, to);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user