Update documentation of prvGetExpectedIdleTime (#1061)

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2024-05-20 14:24:54 +05:30 committed by GitHub
parent 0801c91bc6
commit 9697f8c9b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -662,7 +662,8 @@ static void prvAddCurrentTaskToDelayedList( TickType_t xTicksToWait,
/*
* Return the amount of time, in ticks, that will pass before the kernel will
* next move a task from the Blocked state to the Running state.
* next move a task from the Blocked state to the Running state or before the
* tick count overflows (whichever is earlier).
*
* This conditional compilation should use inequality to 0, not equality to 1.
* This is to ensure portSUPPRESS_TICKS_AND_SLEEP() can be called when user