Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions portable/MSVC-MingW/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,12 @@ BaseType_t xPortStartScheduler( void )
pxThreadState = ( ThreadState_t * ) *( ( size_t * ) pxCurrentTCB );
ulCriticalNesting = portNO_CRITICAL_NESTING;

/* Start the first task. */
ResumeThread( pxThreadState->pvThread );

/* The scheduler is now running. */
xPortRunning = pdTRUE;

/* Start the first task. */
ResumeThread( pxThreadState->pvThread );

/* Handle all simulated interrupts - including yield requests and
* simulated ticks. */
prvProcessSimulatedInterrupts();
Expand Down