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:
Cla Mattia Galliard <cla-mattia.galliard@zuehlke.com>
Loading
Please sign in to comment