diff options
| author | David Lin <[email protected]> | 2020-02-24 20:54:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-02-24 20:54:53 +0800 |
| commit | f4a2a00f3d2f5985f8d8a3805489fc44a9d19037 (patch) | |
| tree | adfe1ee59d3a5acce9ccc42c19388a4e3a2bec79 | |
| parent | 4b99c7df66a1f8c7468a4dac3f59971f9a9f08cb (diff) | |
[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.
| -rw-r--r-- | bsp/stm32/libraries/HAL_Drivers/drv_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_eth.c b/bsp/stm32/libraries/HAL_Drivers/drv_eth.c index 4ead17dc23..8b191453cb 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drv_eth.c +++ b/bsp/stm32/libraries/HAL_Drivers/drv_eth.c @@ -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); |
