Skip to content
Commit e0173d9b authored by Brandon Allen's avatar Brandon Allen Committed by Benjamin Cabé
Browse files

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: default avatarBrandon Allen <brandon.allen@exacttechnology.com>
parent 64e5a31b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment