mirror of
https://github.com/espressif/openthread.git
synced 2026-07-19 02:24:06 +00:00
turn on warnings and errors (#280)
This commit is contained in:
committed by
Jonathan Hui
parent
3b4bf8594e
commit
318fe4b415
+2
-1
@@ -46,7 +46,8 @@ ThreadError Udp::Start(void)
|
||||
{
|
||||
ThreadError error;
|
||||
|
||||
otSockAddr sockaddr = {};
|
||||
otSockAddr sockaddr;
|
||||
memset(&sockaddr, 0, sizeof(otSockAddr));
|
||||
sockaddr.mPort = 7335;
|
||||
|
||||
SuccessOrExit(error = otOpenUdpSocket(&mSocket, &HandleUdpReceive, this));
|
||||
|
||||
Reference in New Issue
Block a user