Skip to content

Commit 1ce32f0

Browse files
JordanYateskartben
authored andcommitted
doc: releases: document zbus_chan_add_obs changes
Document the changes to the ZBus function `zbus_chan_add_obs`. Signed-off-by: Jordan Yates <[email protected]>
1 parent 19d123f commit 1ce32f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,13 @@ SPI
293293
Other subsystems
294294
****************
295295

296+
ZBus
297+
====
298+
299+
* The function :c:func:`zbus_chan_add_obs` now requires a :c:struct:`zbus_observer_node` as an argument,
300+
which was previously allocated through :c:func:`k_malloc` internally. The structure must remain valid
301+
in memory until :c:func:`zbus_chan_rem_obs` is called.
302+
296303
Modules
297304
*******
298305

0 commit comments

Comments
 (0)