Skip to content

Fix outdated function name in xTaskCheckForTimeOut comment - #1465

Open
wanghengZzz wants to merge 3 commits into
FreeRTOS:mainfrom
wanghengZzz:typo/xTaskCheckForTimeOut
Open

Fix outdated function name in xTaskCheckForTimeOut comment#1465
wanghengZzz wants to merge 3 commits into
FreeRTOS:mainfrom
wanghengZzz:typo/xTaskCheckForTimeOut

Conversation

@wanghengZzz

Copy link
Copy Markdown
Contributor

Description

The comment inside xTaskCheckForTimeOut() (tasks.c) refers to a
function called vTaskSetTimeout() (and vTaskSetTimeOut()), which
does not exist in the codebase. The function that actually sets
xTimeOnEntering / xOverflowCount is vTaskSetTimeOutState().

This PR only updates the comment for accuracy; no functional change.

Checklist

  • I have tested my changes. No functional code was modified.
  • I have modified the comment only; no code logic change.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

wanghengZzz and others added 3 commits August 5, 2026 10:46
The comment referenced vTaskSetTimeout()/vTaskSetTimeOut(), which
does not exist. The actual function is vTaskSetTimeOutState().

Signed-off-by: wanghengZzz <wangheng@cmdm.csie.ntu.edu.tw>
@sonarqubecloud

sonarqubecloud Bot commented Aug 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant