[simulator] 修复函数定义不一致

This commit is contained in:
zhkag 2023-07-06 13:27:22 +08:00 committed by Man, Jianting (Meco)
parent c0a5129ed4
commit c7be260665
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}