Skip to content
Commit bef0dc06 authored by Ben Marsh's avatar Ben Marsh Committed by David Leach
Browse files

doc: mqtt: Fix incorrect usage of poll()



The MQTT docs used K_MSEC() to provide the timeout parameter to poll().
Doing this causes a compilation error as poll() expects it's
third parameter to be of type int, not k_timeout_t.

Signed-off-by: default avatarBen Marsh <ben.marsh@helvar.com>
parent b8556d0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment