Merge branch 'main' into add-native-interrupt-MSVC

This commit is contained in:
Gaurav-Aggarwal-AWS 2024-05-08 11:15:43 +05:30 committed by GitHub
commit 06193231d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();