mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +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->write((const uint8_t *) buf, len);
|
||||
if(!sockfd->endPacket())
|
||||
if(!sockfd->endPacket()) {
|
||||
// printf("error sending udp packet\n");
|
||||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user