4
0
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:
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

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