未验证 提交 bdfb40e7 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #945 from enkiller/modify_lwip_rx_is_null

[lwip]判定eth_rx是否为空,为空不执行。
......@@ -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.
先完成此消息的编辑!
想要评论请 注册