Skip to content
Commit 5476e0b3 authored by Michael Scott's avatar Michael Scott Committed by Anas Nashif
Browse files

samples: net: mqtt_publisher: add return value to wait()



In order to better handle incoming data, wait() should return
the # of sockets with data returned by poll().

Based on this new return value, we can call mqtt_input() in a
smarter way.

Signed-off-by: default avatarMichael Scott <mike@foundries.io>
parent 3e24eb8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment