mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-10-10 08:02:57 -04:00
Fix outdated function name in xTaskCheckForTimeOut comment
The comment referenced vTaskSetTimeout()/vTaskSetTimeOut(), which does not exist. The actual function is vTaskSetTimeOutState(). Signed-off-by: wanghengZzz <wangheng@cmdm.csie.ntu.edu.tw>
This commit is contained in:
parent
4269c69a16
commit
d837923c36
1 changed files with 3 additions and 3 deletions
6
tasks.c
6
tasks.c
|
|
@ -5682,9 +5682,9 @@ BaseType_t xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut,
|
|||
if( ( xNumOfOverflows != pxTimeOut->xOverflowCount ) && ( xConstTickCount >= pxTimeOut->xTimeOnEntering ) )
|
||||
{
|
||||
/* The tick count is greater than the time at which
|
||||
* vTaskSetTimeout() was called, but has also overflowed since
|
||||
* vTaskSetTimeOut() was called. It must have wrapped all the way
|
||||
* around and gone past again. This passed since vTaskSetTimeout()
|
||||
* vTaskSetTimeOutState() was called, but has also overflowed since
|
||||
* vTaskSetTimeOutState() was called. It must have wrapped all the way
|
||||
* around and gone past again. This passed since vTaskSetTimeOutState()
|
||||
* was called. */
|
||||
xReturn = pdTRUE;
|
||||
*pxTicksToWait = ( TickType_t ) 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue