summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorlzh <[email protected]>2024-01-08 10:29:00 +0800
committerRbb666 <[email protected]>2024-01-08 18:40:36 +0800
commit1531705b9aaa6b8f9f497552ee9a7c8c013fc913 (patch)
treed3ba4e875caefd5439f9e378d0947af26f7b2959 /bsp
parent35a43ac10211dda55551de3fff8c6337a501a449 (diff)
code format adjustment
Diffstat (limited to 'bsp')
-rw-r--r--bsp/phytium/libraries/drivers/drv_xmac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bsp/phytium/libraries/drivers/drv_xmac.c b/bsp/phytium/libraries/drivers/drv_xmac.c
index 06eba67b34..8a2d832a45 100644
--- a/bsp/phytium/libraries/drivers/drv_xmac.c
+++ b/bsp/phytium/libraries/drivers/drv_xmac.c
@@ -815,7 +815,6 @@ void FXmacLinkChange(void *arg)
LOG_I("xmac_p->config.base_address is %p", xmac_p->config.base_address);
ctrl = FXMAC_READREG32(xmac_p->config.base_address, FXMAC_PCS_AN_LP_OFFSET);
link = (ctrl & FXMAC_PCS_LINK_PARTNER_NEXT_PAGE_STATUS) >> 15;
-
switch (link)
{
@@ -1471,7 +1470,7 @@ enum lwip_port_link_status eth_link_detect(FXmacOs *instance_p)
static void ethernet_link_thread(void *Args)
{
-
+
if (RT_NULL == Args)
{
return;