Skip to content
Commit b3e42fea authored by Glenn Andrews's avatar Glenn Andrews Committed by Alberto Escolar
Browse files

Documentation: Update Polling API



Changes:
1. the number of events being checked did not equal those defined
in the `events` array.
2. Use `k_poll_signal_check()` instead of accessing fields directly.
3. Use `k_poll_signal_reset()` to reset the signal instead of
accessing fields directly.

I'm assuming the examples predate `k_poll_signal_check()` and
`k_poll_signal_reset()`

Signed-off-by: default avatarGlenn Andrews <glenn.andrews.42@gmail.com>
parent 94cd46d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment