doc: slist: fix duplicated sys_sfnode_flags_get()

Replace duplicated sys_sfnode_flags_get() by sys_sfnode_flags_set().

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
Andrej Butok 2023-11-07 14:30:28 +01:00 committed by Carles Cufí
parent dc92b32ceb
commit 583fd8a79e
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ ways identically to the slist API.
It adds the ability to associate exactly two bits of user defined
"flags" with each list node. These can be accessed and modified with
:c:func:`sys_sfnode_flags_get` and :c:func:`sys_sfnode_flags_get`.
:c:func:`sys_sfnode_flags_get` and :c:func:`sys_sfnode_flags_set`.
Internally, the flags are stored unioned with the bottom bits of the
next pointer and incur no SRAM storage overhead when compared with the
simpler slist code.