Skip to content
Commit 3552609a authored by Cla Mattia Galliard's avatar Cla Mattia Galliard Committed by Anas Nashif
Browse files

doc: kernel: fix k_poll example



Fix `k_poll()` loop example by using separate `if` blocks instead of
`if`-`else`-chain to ensure all events are handled, even if multiple are
active at the same time.

Signed-off-by: default avatarCla Mattia Galliard <cla-mattia.galliard@zuehlke.com>
parent 33407bfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment