Skip to content

Commit 82ae97e

Browse files
committed
fix build error
1 parent 76b6d7f commit 82ae97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcpu/sim/win32/cpu_port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ void rt_hw_context_switch(rt_uint32_t from,
286286
TriggerSimulateInterrupt(CPU_INTERRUPT_YIELD);
287287

288288
// make sure the event is not already signaled
289-
WinThread = (win_thread_t *)rt_interrupt_from_thread;
289+
win_thread_t *WinThread = (win_thread_t *)rt_interrupt_from_thread;
290290
ResetEvent(WinThread->YieldEvent);
291291

292292
/*

0 commit comments

Comments
 (0)