提交 28855d4f 编写于 作者: 还_没_想_好's avatar 还_没_想_好

[lwip]判定eth_rx是否为空,为空不执行。

上级 0941957e
......@@ -391,6 +391,8 @@ static void eth_rx_thread_entry(void* parameter)
/* receive all of buffer */
while (1)
{
if(device->eth_rx == RT_NULL) break;
p = device->eth_rx(&(device->parent));
if (p != RT_NULL)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册