mirror of https://github.com/ARMmbed/mbed-os.git
Update serial_api.c
Fix and enable the PLL for the LPC812. Removed unnecessary commentspull/870/head
parent
898b4ab772
commit
d03329fb3f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue