From bc136ef5b17b89bc42efd222fe5aed894942639d Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 20 Apr 2018 14:04:16 +0200 Subject: Small firmware foo --- fw/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fw') diff --git a/fw/serial.c b/fw/serial.c index fc797e3..891a7a6 100644 --- a/fw/serial.c +++ b/fw/serial.c @@ -43,7 +43,7 @@ void serial_init() { | USART_CR1_RE; //USART1->CR2 = USART_CR2_RTOEN; /* Timeout enable */ USART1->CR3 = USART_CR3_DEM; /* RS485 DE enable (output on RTS) */ - /* Set divider for 25MHz baud rate @50MHz system clock. */ + /* Set divider for 2MHz baud rate @50MHz system clock. */ int usartdiv = 25; USART1->BRR = usartdiv; -- cgit