diff options
| author | lzh <[email protected]> | 2024-01-08 10:29:00 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-01-08 18:40:36 +0800 |
| commit | 1531705b9aaa6b8f9f497552ee9a7c8c013fc913 (patch) | |
| tree | d3ba4e875caefd5439f9e378d0947af26f7b2959 | |
| parent | 35a43ac10211dda55551de3fff8c6337a501a449 (diff) | |
code format adjustment
| -rw-r--r-- | bsp/phytium/libraries/drivers/drv_xmac.c | 3 |
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; |
