Skip to content

Commit 61fa224

Browse files
committed
missed taskYield in minimalIDLE task
1 parent 106e15e commit 61fa224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ typedef struct tskTaskControlBlock /* The old naming convention is used to
256256

257257
#if ( configUSE_CORE_AFFINITY == 1 && configNUM_CORES > 1 )
258258
UBaseType_t uxCoreAffinityMask; /*< Used to link the task to certain cores. UBaseType_t must have >= the same number of bits as SMP confNUM_CORES */
259-
UBaseType_t uxCoreAffinityInheritanceMask; /*< Used to allow a task to inherit the affinity of its parent */
260259
#endif
261260

262261
#if ( ( portSTACK_GROWTH > 0 ) || ( configRECORD_STACK_HIGH_ADDRESS == 1 ) )
@@ -4231,6 +4230,7 @@ void vTaskMissedYield( void )
42314230
#if ( configNUM_CORES > 1 )
42324231
static portTASK_FUNCTION( prvMinimalIdleTask, pvParameters )
42334232
{
4233+
taskYIELD();
42344234
for( ; ; )
42354235
{
42364236
#if ( configUSE_PREEMPTION == 0 )

0 commit comments

Comments
 (0)