Skip to content

Commit e4c1306

Browse files
committed
Merge branch 'add-core-affinity-bits-check' of https://github.com/chinglee-iot/FreeRTOS-Kernel into add-core-affinity-bits-check
2 parents 02f05f3 + 3281799 commit e4c1306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5127,7 +5127,7 @@ void vTaskMissedYield( void )
51275127

51285128
taskYIELD();
51295129

5130-
while( INFINITE_LOOP() )
5130+
for( ; INFINITE_LOOP(); )
51315131
{
51325132
#if ( configUSE_PREEMPTION == 0 )
51335133
{
@@ -5212,7 +5212,7 @@ static portTASK_FUNCTION( prvIdleTask, pvParameters )
52125212
}
52135213
#endif /* #if ( configNUMBER_OF_CORES > 1 ) */
52145214

5215-
while( INFINITE_LOOP() )
5215+
for( ; INFINITE_LOOP(); )
52165216
{
52175217
/* See if any tasks have deleted themselves - if so then the idle task
52185218
* is responsible for freeing the deleted task's TCB and stack. */

0 commit comments

Comments
 (0)