mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-24 15:27:04 +08:00
Merge pull request #1612 from liu2guang/master
[BSP][RT1050] Fix the fire ethernet driver compilation bug.
This commit is contained in:
commit
360d74e451
@ -319,7 +319,7 @@ static void _enet_io_init(void)
|
|||||||
|
|
||||||
static void _enet_clk_init(void)
|
static void _enet_clk_init(void)
|
||||||
{
|
{
|
||||||
const clock_enet_pll_config_t config = {true, false, false, 1, 1};
|
const clock_enet_pll_config_t config = {true, false, 1};
|
||||||
CLOCK_InitEnetPll(&config);
|
CLOCK_InitEnetPll(&config);
|
||||||
|
|
||||||
IOMUXC_EnableMode(IOMUXC_GPR, kIOMUXC_GPR_ENET1TxClkOutputDir, true);
|
IOMUXC_EnableMode(IOMUXC_GPR, kIOMUXC_GPR_ENET1TxClkOutputDir, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user