mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 21:25:00 -05:00
Add extended traceTASK_DELAY hook, clarified traceTASK_DELAY_UNTIL.
Adds an extended version of traceTASK_DELAY that also exposes the number of ticks to delay.
This commit is contained in:
parent
d39654e813
commit
19e901e3e8
2 changed files with 9 additions and 2 deletions
2
tasks.c
2
tasks.c
|
|
@ -2446,7 +2446,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
{
|
||||
configASSERT( uxSchedulerSuspended == 1U );
|
||||
|
||||
traceTASK_DELAY();
|
||||
traceTASK_DELAY_EXT( xTicksToDelay );
|
||||
|
||||
/* A task that is removed from the event list while the
|
||||
* scheduler is suspended will not get placed in the ready
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue