mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 08:07:46 -04:00
Merge branch 'main' into main
This commit is contained in:
commit
cfb3416903
1 changed files with 3 additions and 3 deletions
|
@ -353,12 +353,12 @@ BaseType_t xPortStartScheduler( void )
|
||||||
pxThreadState = ( ThreadState_t * ) *( ( size_t * ) pxCurrentTCB );
|
pxThreadState = ( ThreadState_t * ) *( ( size_t * ) pxCurrentTCB );
|
||||||
ulCriticalNesting = portNO_CRITICAL_NESTING;
|
ulCriticalNesting = portNO_CRITICAL_NESTING;
|
||||||
|
|
||||||
/* Start the first task. */
|
|
||||||
ResumeThread( pxThreadState->pvThread );
|
|
||||||
|
|
||||||
/* The scheduler is now running. */
|
/* The scheduler is now running. */
|
||||||
xPortRunning = pdTRUE;
|
xPortRunning = pdTRUE;
|
||||||
|
|
||||||
|
/* Start the first task. */
|
||||||
|
ResumeThread( pxThreadState->pvThread );
|
||||||
|
|
||||||
/* Handle all simulated interrupts - including yield requests and
|
/* Handle all simulated interrupts - including yield requests and
|
||||||
* simulated ticks. */
|
* simulated ticks. */
|
||||||
prvProcessSimulatedInterrupts();
|
prvProcessSimulatedInterrupts();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue