Fixed uninitialized port in lwip dragged in by KSDK2

pull/2231/head
Christopher Haster 2016-06-07 17:06:22 -05:00
parent 3b32e53c54
commit 05b21d7b2d
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 */