On the current version: ETH_MAC_MDIO_ClkConfig()
|
static void ETH_MAC_MDIO_ClkConfig( ETH_HandleTypeDef * heth ) |
and HAL_ETH_SetMDIOClockRange()
|
void HAL_ETH_SetMDIOClockRange( ETH_HandleTypeDef * heth ) |
are effectively identical functions which set the management clock. They get called from different contexts.
Maybe consider using just one function.