Skip to content

Commit

Permalink
Merge branch 'main' into add-native-interrupt-MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
aggarg authored May 8, 2024
2 parents ac98c06 + 78c8bbd commit 0619323
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions portable/MSVC-MingW/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,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

0 comments on commit 0619323

Please sign in to comment.