summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorxiaofan <[email protected]>2019-09-04 18:02:19 +0800
committerTan Xiaofan <[email protected]>2019-10-29 17:21:17 +0800
commit2a9e7c0eeaac3a7545e2321cdb717498e3f52b52 (patch)
tree742f9c6d73835e321ad681078a6ae77d64a149e5 /bsp
parent3a880c1d0df83e45b17a3436a209dea2558304c5 (diff)
Fix code style
Signed-off-by: xiaofan <[email protected]>
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_eth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_eth.c b/bsp/stm32/libraries/HAL_Drivers/drv_eth.c
index db1c501937..7935612359 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_eth.c
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_eth.c
@@ -426,7 +426,8 @@ static void phy_linkchange()
}
}
- if (phy_speed != phy_speed_new) {
+ if (phy_speed != phy_speed_new)
+ {
phy_speed = phy_speed_new;
if (phy_speed & PHY_LINK)
{