Update serial_api.c

Fix and enable the PLL for the LPC812. Removed unnecessary comments
pull/870/head
Wim 2015-01-29 20:33:22 +01:00
parent 898b4ab772
commit d03329fb3f
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ void serial_init(serial_t *obj, PinName tx, PinName rx) {
LPC_SYSCON->PRESETCTRL &= ~(0x1 << (3 + uart_n));
LPC_SYSCON->PRESETCTRL |= (0x1 << (3 + uart_n));
//WH
// Derive UART Clock from MainClock
UARTSysClk = MainClock / LPC_SYSCON->UARTCLKDIV;
// set default baud rate and format