zbus: observervation -> observation

Fix a typo in the doxygen and service documentation.

Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
Jordan Yates 2024-11-10 14:27:55 +10:00 committed by Mahesh Mahadevan
parent 81491df4ac
commit 35295f3663
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ The above figure illustrates some states, from (a) to (d), for channels from ``C
``Subscriber 1``, and the observations. The last two are in orange to indicate they are dynamically
allocated (runtime observation). (a) shows that the observer and all observations are enabled. (b)
shows the observer is disabled, so the event dispatcher will ignore it. (c) shows the observer
enabled. However, there is one static observervation disabled. The event dispatcher will only stop
enabled. However, there is one static observation disabled. The event dispatcher will only stop
sending notifications from channel ``C3``. In (d), the event dispatcher will stop sending
notifications from channels ``C3`` and ``C5`` to ``Subscriber 1``.

View file

@ -268,7 +268,7 @@ struct zbus_channel_observation {
/* clang-format off */
/**
* @brief Add a static channel observervation.
* @brief Add a static channel observation.
*
* This macro initializes a channel observation by receiving the
* channel and the observer.
@ -290,7 +290,7 @@ struct zbus_channel_observation {
/* clang-format on */
/**
* @brief Add a static channel observervation.
* @brief Add a static channel observation.
*
* This macro initializes a channel observation by receiving the
* channel and the observer.