From: Guus Sliepen Date: Sun, 29 Mar 2020 14:21:51 +0000 (+0200) Subject: Don't call the poll callback unnecessarily. X-Git-Url: http://git.meshlink.io/?a=commitdiff_plain;h=97f8b67ac77d0623e536d302eb1e08666be7d411;hp=97f8b67ac77d0623e536d302eb1e08666be7d411;p=utcp Don't call the poll callback unnecessarily. Currently we call the poll callback if there is any free space in the send buffer, every time we call utcp_timeout(). However, if the application does not send anything inside the callback, then it most likely won't send anything the next time if the free space in the send buffer did not change. So only call the callback when more space has been made available in the send buffer. ---