Skip to content

Fix function names in task.h doc comment (#1555) - #1556

Merged
kstribrnAmzn merged 1 commit into
FreeRTOS:mainfrom
KovioTools:fix-task-h-notify-comment-typos
Dec 1, 2026
Merged

kstribrnAmzn merged 1 commit into
FreeRTOS:mainfrom
KovioTools:fix-task-h-notify-comment-typos

Conversation

@KovioTools

Copy link
Copy Markdown
Contributor

Fixes #1555.

The doc comment block for vTaskNotifyGiveIndexedFromISR() in include/task.h referred to the two functions as xTaskNotifyGiveFromISR() and xTaskNotifyGiveIndexedFromISR(). Those x-prefixed names do not exist: the prototypes in the same file are vTaskNotifyGiveFromISR() and vTaskNotifyGiveIndexedFromISR() (lines ~3117-3118), and the rest of the comment block already uses the v-prefixed names.

Comment-only changes (3 tokens, 2 lines + 1 line):

  • "Calling xTaskNotifyGiveFromISR() is equivalent to calling" -> vTaskNotifyGiveFromISR()
  • "xTaskNotifyGiveIndexedFromISR() with the uxIndexToNotify parameter set to 0." -> vTaskNotifyGiveIndexedFromISR()
  • "xTaskNotifyGiveFromISR() does not have this parameter and always sends" -> vTaskNotifyGiveFromISR()

The unrelated xTaskNotifyGive()/xTaskNotifyGiveIndexed() APIs elsewhere in the file are untouched; the diff is exactly these three renames.

@kstribrnAmzn

Copy link
Copy Markdown
Member

Thanks for the contribution 😄

@kstribrnAmzn
kstribrnAmzn force-pushed the fix-task-h-notify-comment-typos branch from 843c8a4 to d2f6856 Compare December 1, 2026 00:29
@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

@kstribrnAmzn
kstribrnAmzn merged commit c47de1b into FreeRTOS:main Dec 1, 2026
14 of 17 checks passed
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.

[DOC] Typo in function names in comment

2 participants