We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499dee2 commit eb9ec69Copy full SHA for eb9ec69
tasks.c
@@ -3259,13 +3259,13 @@ void vTaskStartScheduler( void )
3259
{
3260
BaseType_t xReturn;
3261
3262
- #if ( configUSE_CORE_AFFINITY == 1 )
+ #if ( configUSE_CORE_AFFINITY == 1 ) && ( configNUMBER_OF_CORES > 1 )
3263
3264
/* Sanity check that the UBaseType_t must have greater than or equal to
3265
* the number of bits as confNUMBER_OF_CORES. */
3266
configASSERT( ( sizeof( UBaseType_t ) * taskBITS_PER_TYPE ) >= configNUMBER_OF_CORES );
3267
}
3268
- #endif
+ #endif /* #if ( configUSE_CORE_AFFINITY == 1 ) && ( configNUMBER_OF_CORES > 1 ) */
3269
3270
xReturn = prvCreateIdleTasks();
3271
0 commit comments