Skip to content

Commit ea010f8

Browse files
committed
Merge branch 'fix/freertos_vtasklist_param_order_v5.3' into 'release/v5.3'
fix(freertos): Fix vTaskList() parameter print order (v5.3) See merge request espressif/esp-idf!30476
2 parents 68a9c09 + 027193c commit ea010f8

File tree

1 file changed

+1
-1
lines changed
  • components/freertos/FreeRTOS-Kernel

1 file changed

+1
-1
lines changed

components/freertos/FreeRTOS-Kernel/tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5478,7 +5478,7 @@ static void prvResetNextTaskUnblockTime( void )
54785478
#if ( configTASKLIST_INCLUDE_COREID == 1 )
54795479
{
54805480
const BaseType_t xCoreID = ( pxTaskStatusArray[ x ].xCoreID == tskNO_AFFINITY ) ? -1 : pxTaskStatusArray[ x ].xCoreID;
5481-
sprintf( pcWriteBuffer, "\t%c\t%u\t%d\t%u\t%u\r\n", cStatus, ( unsigned int ) pxTaskStatusArray[ x ].uxCurrentPriority, ( int ) xCoreID, ( unsigned int ) pxTaskStatusArray[ x ].usStackHighWaterMark, ( unsigned int ) pxTaskStatusArray[ x ].xTaskNumber ); /*lint !e586 sprintf() allowed as this is compiled with many compilers and this is a utility function only - not part of the core kernel implementation. */
5481+
sprintf( pcWriteBuffer, "\t%c\t%u\t%u\t%u\t%d\r\n", cStatus, ( unsigned int ) pxTaskStatusArray[ x ].uxCurrentPriority, ( unsigned int ) pxTaskStatusArray[ x ].usStackHighWaterMark, ( unsigned int ) pxTaskStatusArray[ x ].xTaskNumber, ( int ) xCoreID ); /*lint !e586 sprintf() allowed as this is compiled with many compilers and this is a utility function only - not part of the core kernel implementation. */
54825482
}
54835483
#else /* configTASKLIST_INCLUDE_COREID == 1 */
54845484
{

0 commit comments

Comments
 (0)