Assert otPlatUartSend errors in ncp_uart (#1563)

This commit is contained in:
Robert Lubos
2017-04-10 13:29:32 -07:00
committed by Jonathan Hui
parent e9f53b9e1d
commit f7590571c2
+4 -1
View File
@@ -176,7 +176,10 @@ exit:
if (len > 0)
{
otPlatUartSend(mUartBuffer.GetBuffer(), len);
if (otPlatUartSend(mUartBuffer.GetBuffer(), len) != kThreadError_None)
{
assert(false);
}
}
}