mirror of
https://github.com/espressif/openthread.git
synced 2026-09-10 11:10:08 +00:00
Assert otPlatUartSend errors in ncp_uart (#1563)
This commit is contained in:
committed by
Jonathan Hui
parent
e9f53b9e1d
commit
f7590571c2
@@ -176,7 +176,10 @@ exit:
|
||||
|
||||
if (len > 0)
|
||||
{
|
||||
otPlatUartSend(mUartBuffer.GetBuffer(), len);
|
||||
if (otPlatUartSend(mUartBuffer.GetBuffer(), len) != kThreadError_None)
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user