Skip to content

Commit b52f825

Browse files
committed
Further SA fixes
1 parent 9462d4a commit b52f825

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
#endif
164164
#define taskRESERVED_TASK_NAME_LENGTH 2U
165165

166-
#elif ( configNUMBER_OF_CORES > 10 )
166+
#elif ( configNUMBER_OF_CORES > 9 )
167167
#warning Please increase taskRESERVED_TASK_NAME_LENGTH. 1 character is insufficient to store the core ID.
168168
#else
169169
/* Reserve space for null termination */
@@ -3544,9 +3544,9 @@ static BaseType_t prvCreateIdleTasks( void )
35443544
BaseType_t xCoreID;
35453545
char cIdleName[ configMAX_TASK_NAME_LEN ] = { 0 };
35463546
TaskFunction_t pxIdleTaskFunction = NULL;
3547-
BaseType_t xIdleTaskNameIndex;
3547+
UBaseType_t xIdleTaskNameIndex;
35483548

3549-
for( xIdleTaskNameIndex = ( BaseType_t ) 0; xIdleTaskNameIndex < ( configMAX_TASK_NAME_LEN - taskRESERVED_TASK_NAME_LENGTH ); xIdleTaskNameIndex++ )
3549+
for( xIdleTaskNameIndex = 0U; xIdleTaskNameIndex < ( configMAX_TASK_NAME_LEN - taskRESERVED_TASK_NAME_LENGTH ); xIdleTaskNameIndex++ )
35503550
{
35513551
cIdleName[ xIdleTaskNameIndex ] = configIDLE_TASK_NAME[ xIdleTaskNameIndex ];
35523552

0 commit comments

Comments
 (0)