Skip to content

Commit 5bef2ee

Browse files
authored
Update drv_eth.c
1 parent bcb4e23 commit 5bef2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/hc32/libraries/hc32_drivers/drv_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ static void eth_phy_irq_handler(void *args)
467467
rt_uint16_t status = 0;
468468

469469
ETH_PHY_ReadReg(&EthHandle, PHY_IISDR, &status);
470-
#ifdef ULOG_USING_ISR_LOG
470+
#if !defined (RT_USING_ULOG) || defined (ULOG_USING_ISR_LOG)
471471
LOG_D("phy interrupt status reg is 0x%X", status);
472472
#endif
473473
#endif

0 commit comments

Comments
 (0)