From e8a98c9cb3cfc0a331379e2bad217431aa823bc0 Mon Sep 17 00:00:00 2001 From: Gaurav Aggarwal Date: Fri, 17 May 2024 11:08:15 +0000 Subject: [PATCH] Update documentation of prvGetExpectedIdleTime Signed-off-by: Gaurav Aggarwal --- tasks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks.c b/tasks.c index 3423becd4f1..db158f655ab 100644 --- a/tasks.c +++ b/tasks.c @@ -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