Merge pull request #12686 from jeromecoutant/PR_REVERT_ETHERNET

STM32 EMAC : remove TIMEOUT issue when cable is not plugged yet
pull/12696/head
Martin Kojtal 2020-03-25 08:59:55 +01:00 committed by GitHub
commit fff23428de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ bool STM32_EMAC::low_level_init_successful()
if (HAL_ETH_Init(&EthHandle) != HAL_OK) {
tr_error("HAL_ETH_Init issue");
return false;
/* HAL_ETH_Init returns TIMEOUT when Ethernet cable is not plugged */;
}
uint32_t TempRegisterValue;