Skip to content

Fix duplicate Doxygen \defgroup ids in croutine.h and queue.h#1428

Open
Zepp-Hanzj wants to merge 1 commit into
FreeRTOS:mainfrom
Zepp-Hanzj:fix/doxygen-defgroup-duplicates
Open

Fix duplicate Doxygen \defgroup ids in croutine.h and queue.h#1428
Zepp-Hanzj wants to merge 1 commit into
FreeRTOS:mainfrom
Zepp-Hanzj:fix/doxygen-defgroup-duplicates

Conversation

@Zepp-Hanzj

Copy link
Copy Markdown
Contributor

Description

Fix incorrect Doxygen \defgroup identifiers in croutine.h and queue.h that reuse group ids already defined by other API functions.

When building documentation with Doxygen, these duplicates cause warnings like:

queue.h: warning: group uxQueueMessagesWaiting: ignoring title "uxQueueSpacesAvailable" that does not match old title "uxQueueMessagesWaiting"

This is the same type of issue fixed in PR #1426 for uxTaskBasePriorityGet.

Changes

File Line Old defgroup New defgroup Reason
croutine.h 246 crSTART crEND Documents crEND() macro
queue.h 948 uxQueueMessagesWaiting uxQueueSpacesAvailable Documents uxQueueSpacesAvailable()
queue.h 1114 xQueueSendFromISR xQueueSendToBackFromISR Documents xQueueSendToBackFromISR()
queue.h 1366 xQueueSendFromISR xQueueGenericSendFromISR Documents xQueueGenericSendFromISR()

Test Steps

  • The changes are only to Doxygen comments.
  • Verify with grep -n 'defgroup' include/croutine.h include/queue.h that no duplicate group ids remain for the fixed entries.

Checklist

  • I have tested my changes. No functional code changes.
  • I have updated the documentation accordingly.
  • My changes generate no new warnings.

Fix incorrect Doxygen \defgroup identifiers that reuse group ids
already defined by other API functions:

- croutine.h: \defgroup crSTART -> crEND for the crEND() macro doc
- queue.h: \defgroup uxQueueMessagesWaiting -> uxQueueSpacesAvailable
  for the uxQueueSpacesAvailable() function doc
- queue.h: \defgroup xQueueSendFromISR -> xQueueSendToBackFromISR
  for the xQueueSendToBackFromISR() macro doc
- queue.h: \defgroup xQueueSendFromISR -> xQueueGenericSendFromISR
  for the xQueueGenericSendFromISR() function doc

When building documentation with Doxygen, these duplicates cause
warnings like: group X: ignoring title Y that does not match old title Z

Signed-off-by: hanzhijian <hanzhijian@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