提交 82ae97e2 编写于 作者: U unknown

fix build error

上级 76b6d7f9
......@@ -286,7 +286,7 @@ void rt_hw_context_switch(rt_uint32_t from,
TriggerSimulateInterrupt(CPU_INTERRUPT_YIELD);
// make sure the event is not already signaled
WinThread = (win_thread_t *)rt_interrupt_from_thread;
win_thread_t *WinThread = (win_thread_t *)rt_interrupt_from_thread;
ResetEvent(WinThread->YieldEvent);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册