Skip to content

Commit fff2342

Browse files
authored
Merge pull request #12686 from jeromecoutant/PR_REVERT_ETHERNET
STM32 EMAC : remove TIMEOUT issue when cable is not plugged yet
2 parents 5d64e55 + 488c9db commit fff2342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/netsocket/emac-drivers/TARGET_STM/stm32xx_emac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ bool STM32_EMAC::low_level_init_successful()
320320

321321
if (HAL_ETH_Init(&EthHandle) != HAL_OK) {
322322
tr_error("HAL_ETH_Init issue");
323-
return false;
323+
/* HAL_ETH_Init returns TIMEOUT when Ethernet cable is not plugged */;
324324
}
325325

326326
uint32_t TempRegisterValue;

0 commit comments

Comments
 (0)