Skip to content

Fix/comment typos b - #1461

Open
zepp-chen wants to merge 2 commits into
FreeRTOS:mainfrom
zepp-chen:fix/comment-typos-b
Open

Fix/comment typos b#1461
zepp-chen wants to merge 2 commits into
FreeRTOS:mainfrom
zepp-chen:fix/comment-typos-b

Conversation

@zepp-chen

Copy link
Copy Markdown

Description

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

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.

Fix several documentation and example-code issues in the kernel header comments:

 * queue.h: remove a stray semicolon after the 'if' and correct the
   xHigherPriorityTaskWoken variable casing in the xQueueReceiveFromISR()
   example; add the missing comma between parameters in the
   xQueueGenericSend() prototype example.
 * list.h: correct the doxygen \page tag for listGET_ITEM_VALUE_OF_HEAD_ENTRY.
 * task.h: fix the uxIndexToCLear typo (-> uxIndexToClear).

These are documentation/example only changes that do not affect the
compiled library.

Signed-off-by: chenrongjun <chenrongjun@zepp.com>
Correct a number of documentation typos found across the kernel
source and headers:

 * Remove duplicated words ("the the", "and and", "before before",
   "in a every").
 * Fix "it's" used as a possessive (-> "its").
 * Fix article usage ("an QueueHandle_t" -> "a QueueHandle_t", etc.).
 * Fix type-name typos (list_ts -> List_t, uxItemsSize -> uxItemSize,
   "great extend" -> "great extent").

These are documentation-only changes that do not affect the compiled
library.

Signed-off-by: chenrongjun <chenrongjun@zepp.com>
@sonarqubecloud

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