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 692d238 commit 499dee2Copy full SHA for 499dee2
tasks.c
@@ -3263,7 +3263,7 @@ void vTaskStartScheduler( void )
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( configNUMBER_OF_CORES <= ( sizeof( UBaseType_t ) * taskBITS_PER_TYPE ) );
+ configASSERT( ( sizeof( UBaseType_t ) * taskBITS_PER_TYPE ) >= configNUMBER_OF_CORES );
3267
}
3268
#endif
3269
0 commit comments