doc: fixed :c:enum: used in lieu of :c:enumerator:

While Breathe seems to not care,  the proper role to reference an
enumerator is :c:enumerator:

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2024-06-03 18:25:56 +02:00 committed by Fabio Baltieri
parent b7166032cc
commit 45e51c08ab
3 changed files with 3 additions and 3 deletions

View File

@ -2094,7 +2094,7 @@ Libraries / Subsystems
:kconfig:option:`CONFIG_MCUMGR_MGMT_HANDLER_USER_DATA` is enabled.
* Added optional ``force`` parameter to os mgmt reset command, this can be checked in the
:c:enum:`MGMT_EVT_OP_OS_MGMT_RESET` notification callback whose data structure is
:c:enumerator:`MGMT_EVT_OP_OS_MGMT_RESET` notification callback whose data structure is
:c:struct:`os_mgmt_reset_data`.
* Added configurable number of SMP encoding levels via

View File

@ -1007,7 +1007,7 @@ Libraries / Subsystems
MCUboot or currently running application slot.
* Fixed an issue whereby messages that were too large to be sent over the UDP transport would
wrongly return :c:enum:`MGMT_ERR_EINVAL` instead of :c:enum:`MGMT_ERR_EMSGSIZE`.
wrongly return :c:enumerator:`MGMT_ERR_EINVAL` instead of :c:enumerator:`MGMT_ERR_EMSGSIZE`.
* Fixed an issue where confirming an image in Direct XIP mode would always confirm the image in
the primary slot even when executing from the secondary slot. Now the currently active image is

View File

@ -14,7 +14,7 @@ mechanisms.
In Zephyr, any file system implementation or library can be plugged into or
pulled out through a file system registration API. Each file system
implementation must have a globally unique integer identifier; use
:c:macro:`FS_TYPE_EXTERNAL_BASE` to avoid clashes with in-tree identifiers.
:c:enumerator:`FS_TYPE_EXTERNAL_BASE` to avoid clashes with in-tree identifiers.
.. code-block:: c