File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bsp/hc32/libraries/hc32_drivers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ static void hc32_eth_irq_handle(stc_eth_handle_t *eth_handle)
358358 result = eth_device_ready (& (hc32_eth_device .parent ));
359359 if (result != RT_EOK )
360360 {
361- #if ! defined (RT_USING_ULOG ) || defined (ULOG_USING_ISR_LOG )
361+ #if defined (RT_USING_ULOG ) || defined (ULOG_USING_ISR_LOG )
362362 LOG_I ("eth rx complete callback err = %d" , result );
363363#endif
364364 }
@@ -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- #if ! defined (RT_USING_ULOG ) || defined (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
You can’t perform that action at this time.
0 commit comments