From 2a9e7c0eeaac3a7545e2321cdb717498e3f52b52 Mon Sep 17 00:00:00 2001 From: xiaofan Date: Wed, 4 Sep 2019 18:02:19 +0800 Subject: [PATCH] Fix code style Signed-off-by: xiaofan --- bsp/stm32/libraries/HAL_Drivers/drv_eth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {