aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpc176x/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc176x/serial.c')
-rw-r--r--src/lpc176x/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpc176x/serial.c b/src/lpc176x/serial.c
index 0e0c6aaf..63755467 100644
--- a/src/lpc176x/serial.c
+++ b/src/lpc176x/serial.c
@@ -24,6 +24,7 @@ serial_init(void)
uint32_t div = pclk / (CONFIG_SERIAL_BAUD * 16);
LPC_UART0->DLL = div & 0xff;
LPC_UART0->DLM = (div >> 8) & 0xff;
+ LPC_UART0->FDR = 0x10;
LPC_UART0->LCR = 3; // 8N1 ; clear DLAB bit
// Enable fifo