aboutsummaryrefslogtreecommitdiff
path: root/fw
diff options
context:
space:
mode:
Diffstat (limited to 'fw')
-rw-r--r--fw/serial.c2
1 files changed, 1 insertions, 1 deletions
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;