aboutsummaryrefslogtreecommitdiffstats
path: root/src/cc32/uart_sc16is740.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc32/uart_sc16is740.c')
-rw-r--r--src/cc32/uart_sc16is740.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cc32/uart_sc16is740.c b/src/cc32/uart_sc16is740.c
index e5ddbd7..a14e6ad 100644
--- a/src/cc32/uart_sc16is740.c
+++ b/src/cc32/uart_sc16is740.c
@@ -88,8 +88,8 @@ void uart_sc16is740_init()
reg_write(LCR, (3 << 0) | (0 << 2));
/* set LCR[7] = 1 (divisor latch) */
reg_write(LCR, reg_read(LCR) | 0x80);
- /* baud rate generator for 115200 */
- reg_write(DLL, 1);
+ /* baud rate generator for 9600 */
+ reg_write(DLL, 12);
reg_write(DLH, 0);
/* clear LCR[7] = 0 (divisor latch) */
reg_write(LCR, reg_read(LCR) & ~0x80);