Skip to content

Commit 9697f8c

Browse files
authored
Update documentation of prvGetExpectedIdleTime (FreeRTOS#1061)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
1 parent 0801c91 commit 9697f8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,8 @@ static void prvAddCurrentTaskToDelayedList( TickType_t xTicksToWait,
662662

663663
/*
664664
* Return the amount of time, in ticks, that will pass before the kernel will
665-
* next move a task from the Blocked state to the Running state.
665+
* next move a task from the Blocked state to the Running state or before the
666+
* tick count overflows (whichever is earlier).
666667
*
667668
* This conditional compilation should use inequality to 0, not equality to 1.
668669
* This is to ensure portSUPPRESS_TICKS_AND_SLEEP() can be called when user

0 commit comments

Comments
 (0)