We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b6d7f commit 82ae97eCopy full SHA for 82ae97e
libcpu/sim/win32/cpu_port.c
@@ -286,7 +286,7 @@ void rt_hw_context_switch(rt_uint32_t from,
286
TriggerSimulateInterrupt(CPU_INTERRUPT_YIELD);
287
288
// make sure the event is not already signaled
289
- WinThread = (win_thread_t *)rt_interrupt_from_thread;
+ win_thread_t *WinThread = (win_thread_t *)rt_interrupt_from_thread;
290
ResetEvent(WinThread->YieldEvent);
291
292
/*
0 commit comments