Skip to content

Commit 499dee2

Browse files
committed
Reverse condition order
1 parent 692d238 commit 499dee2

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
@@ -3263,7 +3263,7 @@ void vTaskStartScheduler( void )
32633263
{
32643264
/* Sanity check that the UBaseType_t must have greater than or equal to
32653265
* the number of bits as confNUMBER_OF_CORES. */
3266-
configASSERT( configNUMBER_OF_CORES <= ( sizeof( UBaseType_t ) * taskBITS_PER_TYPE ) );
3266+
configASSERT( ( sizeof( UBaseType_t ) * taskBITS_PER_TYPE ) >= configNUMBER_OF_CORES );
32673267
}
32683268
#endif
32693269

0 commit comments

Comments
 (0)