zbus: assert when inside an ISR and time out is not zero
Currently various zbus functions silently change the timeout
to zero when inside an ISR. If a developer is not aware
of this it could lead to unexpected behaviour or a
publish/read failing.
Also in the zbus docs it states to only use a timeout of
zero when inside a ISR multiple times.
Signed-off-by:
Brandon Allen <brandon.allen@exacttechnology.com>
Loading
Please sign in to comment