提交 c9a505be 编写于 作者: B Bernard Xiong

[BSP] fix the compiling issue in AT91SAM9260

上级 cc183a8d
......@@ -876,7 +876,7 @@ int rt_hw_macb_init(void)
if (ret != RT_EOK)
{
rt_kprintf("AT91 EMAC initialized failed\n");
return;
return -1;
}
rt_sem_init(&macb_device.tx_ack, "tx_ack", 0, RT_IPC_FLAG_FIFO);
rt_sem_init(&macb_device.tx_lock, "tx_lock", 1, RT_IPC_FLAG_FIFO);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册