mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Fix compile warning
This commit is contained in:
parent
0acd5335d5
commit
eccfbc334c
@ -69,8 +69,9 @@ inline ssize_t udpsocketsend(UDPSOCKET sockfd, const void *buf, size_t len,
|
|||||||
{
|
{
|
||||||
sockfd->beginPacket(destaddr, destport);
|
sockfd->beginPacket(destaddr, destport);
|
||||||
sockfd->write((const uint8_t *) buf, len);
|
sockfd->write((const uint8_t *) buf, len);
|
||||||
if(!sockfd->endPacket())
|
if(!sockfd->endPacket()) {
|
||||||
// printf("error sending udp packet\n");
|
// printf("error sending udp packet\n");
|
||||||
|
}
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user