Fixed uninitialized port in lwip dragged in by KSDK2

Christopher Haster 2016-06-07 17:06:22 -05:00
parent a534c20a17
commit 1e12b83e56
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ void k64f_init_eth_hardware(void)
MPU->CESR &= ~MPU_CESR_VLD_MASK;
CLOCK_EnableClock(kCLOCK_PortC);
CLOCK_EnableClock(kCLOCK_PortB);
/* Affects PORTC_PCR16 register */
PORT_SetPinMux(PORTC, 16u, kPORT_MuxAlt4);
/* Affects PORTC_PCR17 register */