mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
[simulator] 修复函数定义不一致
This commit is contained in:
committed by
Man, Jianting (Meco)
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user