Merge pull request #1612 from liu2guang/master

[BSP][RT1050] Fix the fire ethernet driver compilation bug.
This commit is contained in:
Bernard Xiong 2018-07-08 08:54:05 +08:00 committed by GitHub
commit 360d74e451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);