未验证 提交 f4a2a00f 编写于 作者: D David Lin 提交者: GitHub

[bsp/stm32]Fixed typo 'lenth' in drv_eth.c

Note that the word 'lenth' is wrong in the output infomation,
so that 'lenth' should been replaced with 'length'.
And floder-> folder in line 22.
上级 4b99c7df
......@@ -19,7 +19,7 @@
/*
* Emac driver uses CubeMX tool to generate emac and phy's configuration,
* the configuration files can be found in CubeMX_Config floder.
* the configuration files can be found in CubeMX_Config folder.
*/
/* debug option */
......@@ -248,7 +248,7 @@ rt_err_t rt_stm32_eth_tx(rt_device_t dev, struct pbuf *p)
/* Prepare transmit descriptors to give to DMA */
/* TODO Optimize data send speed*/
LOG_D("transmit frame lenth :%d", framelength);
LOG_D("transmit frame length :%d", framelength);
/* wait for unlocked */
while (EthHandle.Lock == HAL_LOCKED);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册