diff options
| author | luhuadong <[email protected]> | 2019-06-27 17:14:03 +0800 |
|---|---|---|
| committer | luhuadong <[email protected]> | 2019-06-27 17:14:03 +0800 |
| commit | 97d8f14aebd3f55f2de01742fbf4caac01fc614e (patch) | |
| tree | 563355e4287dcbf3424a02ba75bcd1cacc25be0a /bsp/stm32 | |
| parent | 72fd4f04279599197454bb19bdfb38ec3d61613b (diff) | |
调整缩进
Diffstat (limited to 'bsp/stm32')
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/board/Kconfig | 28 | ||||
| -rw-r--r-- | bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c | 12 |
2 files changed, 20 insertions, 20 deletions
diff --git a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig index 920138393f..6bb14b0a83 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f767-st-nucleo/board/Kconfig @@ -12,24 +12,24 @@ menu "Onboard Peripheral Drivers" select BSP_USING_UART3 default y - config BSP_USING_ETH - bool "Enable Ethernet" - select RT_USING_LWIP - default n + config BSP_USING_ETH + bool "Enable Ethernet" + select RT_USING_LWIP + default n - if BSP_USING_ETH - choice - prompt "On-board PHY chip" - default PHY_USING_LAN8720A + if BSP_USING_ETH + choice + prompt "On-board PHY chip" + default PHY_USING_LAN8720A - config PHY_USING_LAN8720A - bool "LAN8720A" + config PHY_USING_LAN8720A + bool "LAN8720A" - config PHY_USING_DM9161CEP - bool "DM9161CEP" + config PHY_USING_DM9161CEP + bool "DM9161CEP" - endchoice - endif + endchoice + endif endmenu diff --git a/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c b/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c index 012d5a81eb..8a833eec2a 100644 --- a/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c +++ b/bsp/stm32/stm32f767-st-nucleo/board/ports/phy_reset.c @@ -12,10 +12,10 @@ void phy_reset(void) { - /* - * The PHY reset pin of NUCLEO-F767ZI is connected to the MCU reset pin, - * so no additional reset is required. - */ - - return ; + /* + * The PHY reset pin of NUCLEO-F767ZI is connected to the MCU reset pin, + * so no additional reset is required. + */ + + return ; } |
