[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.
This commit is contained in:
David Lin 2020-02-24 20:54:53 +08:00 committed by GitHub
parent 4b99c7df66
commit f4a2a00f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
/* /*
* Emac driver uses CubeMX tool to generate emac and phy's configuration, * 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 */ /* 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 */ /* Prepare transmit descriptors to give to DMA */
/* TODO Optimize data send speed*/ /* TODO Optimize data send speed*/
LOG_D("transmit frame lenth :%d", framelength); LOG_D("transmit frame length :%d", framelength);
/* wait for unlocked */ /* wait for unlocked */
while (EthHandle.Lock == HAL_LOCKED); while (EthHandle.Lock == HAL_LOCKED);