fix build error

This commit is contained in:
unknown 2020-12-23 11:13:46 +08:00
parent 76b6d7f90d
commit 82ae97e248
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void rt_hw_context_switch(rt_uint32_t from,
TriggerSimulateInterrupt(CPU_INTERRUPT_YIELD); TriggerSimulateInterrupt(CPU_INTERRUPT_YIELD);
// make sure the event is not already signaled // 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); ResetEvent(WinThread->YieldEvent);
/* /*